예제 #1
0
 internal void Trace(
     string correlationId,
     Exception error,
     SignalXAdvancedLogType signalXAdvancedLogType,
     params object[] context)
 {
     this.Trace(correlationId, signalXAdvancedLogType, error?.Message, error, context);
 }
예제 #2
0
 internal void Trace(
     string correlationId,
     SignalXAdvancedLogType signalXAdvancedLogType,
     string message,
     Exception error,
     params object[] context)
 {
     try
     {
         foreach (Action <string, SignalXAdvancedLogType, string, Exception, List <object> > traceHandler in this.TraceHandlers)
         {
             try
             {
                 traceHandler?.Invoke(correlationId, signalXAdvancedLogType, message, error, context.ToList());
             }
             catch (Exception e)
             {
             }
         }
     }
     catch (Exception e)
     {
     }
 }