internal void Trace( string correlationId, Exception error, SignalXAdvancedLogType signalXAdvancedLogType, params object[] context) { this.Trace(correlationId, signalXAdvancedLogType, error?.Message, error, context); }
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) { } }