public static void TraceFail(ISystemProbeTraceable activityIdHolder, string component, string formatString, params object[] args) { if (!SystemProbe.IsTraceEnabled(activityIdHolder)) { return; } SystemProbe.AddToLog(activityIdHolder.SystemProbeId, component, SystemProbe.Status.Fail, formatString, args); }
public static void TraceFail(ISystemProbeTraceable activityIdHolder, string component, string message) { if (!SystemProbe.IsTraceEnabled(activityIdHolder)) { return; } SystemProbe.AddToLog(activityIdHolder.SystemProbeId, component, SystemProbe.Status.Fail, message, new object[0]); }
public static void TraceFail <T0>(ISystemProbeTraceable activityIdHolder, string component, string formatString, T0 arg0) { if (!SystemProbe.IsTraceEnabled(activityIdHolder)) { return; } SystemProbe.AddToLog(activityIdHolder.SystemProbeId, component, SystemProbe.Status.Fail, formatString, new object[] { arg0 }); }
public static void TracePass <T0, T1>(ISystemProbeTraceable activityIdHolder, string component, string formatString, T0 arg0, T1 arg1) { if (!SystemProbe.IsTraceEnabled(activityIdHolder)) { return; } SystemProbe.AddToLog(activityIdHolder.SystemProbeId, component, SystemProbe.Status.Pass, formatString, new object[] { arg0, arg1 }); }
internal static bool IsTraceEnabled(ISystemProbeTraceable activityIdHolder) { return(activityIdHolder != null && SystemProbe.IsTraceEnabled(activityIdHolder.SystemProbeId)); }
public void TraceFail(ISystemProbeTraceable activityIdHolder, long etlTraceId, string formatString, params object[] args) { SystemProbe.TraceFail(activityIdHolder, this.componentName, formatString, args); this.etlTracer.TraceError(etlTraceId, formatString, args); }
public void TraceFail <T0, T1, T2>(ISystemProbeTraceable activityIdHolder, long etlTraceId, string formatString, T0 arg0, T1 arg1, T2 arg2) { SystemProbe.TraceFail <T0, T1, T2>(activityIdHolder, this.componentName, formatString, arg0, arg1, arg2); this.etlTracer.TraceError <T0, T1, T2>(etlTraceId, formatString, arg0, arg1, arg2); }
public void TraceFail(ISystemProbeTraceable activityIdHolder, long etlTraceId, string message) { SystemProbe.TraceFail(activityIdHolder, this.componentName, message); this.etlTracer.TraceError(etlTraceId, message); }
public void TracePfdPass <T0, T1>(ISystemProbeTraceable activityIdHolder, long etlTraceId, string formatString, T0 arg0, T1 arg1) { SystemProbe.TracePass <T0, T1>(activityIdHolder, this.componentName, formatString, arg0, arg1); this.etlTracer.TracePfd <T0, T1>(etlTraceId, formatString, arg0, arg1); }