protected override void Append(LoggingEvent loggingEvent) { if (IsErrorOrGreaterWithExceptionObject(loggingEvent)) { RaygunMessage message = _messageBuilderFactory.CreateBuilder().SetException(loggingEvent.ExceptionObject).SetLog4NetInfo(loggingEvent).Build(); _clientExecutor.Execute(client => client.SendInBackground(message)); } }
public void Handle(UnhandledException subject) { RaygunMessage message = _messageBuilderFactory.CreateBuilder().SetException(subject.Exception).Build(); _clientExecutor.Execute(client => client.SendInBackground(message)); }