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));
     }
 }
예제 #2
0
        public void Handle(UnhandledException subject)
        {
            RaygunMessage message = _messageBuilderFactory.CreateBuilder().SetException(subject.Exception).Build();

            _clientExecutor.Execute(client => client.SendInBackground(message));
        }