Beispiel #1
0
 public static void TracePass(Guid activityId, string component, string formatString, params object[] args)
 {
     if (!SystemProbe.IsTraceEnabled(activityId))
     {
         return;
     }
     SystemProbe.AddToLog(activityId, component, SystemProbe.Status.Pass, formatString, args);
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 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]);
 }
Beispiel #4
0
 public static void TracePass(Guid activityId, string component, string message)
 {
     if (!SystemProbe.IsTraceEnabled(activityId))
     {
         return;
     }
     SystemProbe.AddToLog(activityId, component, SystemProbe.Status.Pass, message, new object[0]);
 }
Beispiel #5
0
 public static void Trace(string component, SystemProbe.Status status, string formatString, params object[] args)
 {
     if (!SystemProbe.IsTraceEnabled())
     {
         return;
     }
     SystemProbe.AddToLog(SystemProbe.ActivityId, component, status, formatString, args);
 }
Beispiel #6
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
     });
 }
Beispiel #7
0
 public static void TracePass <T0>(Guid activityId, string component, string formatString, T0 arg0)
 {
     if (!SystemProbe.IsTraceEnabled(activityId))
     {
         return;
     }
     SystemProbe.AddToLog(activityId, component, SystemProbe.Status.Pass, formatString, new object[]
     {
         arg0
     });
 }
Beispiel #8
0
 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
     });
 }
Beispiel #9
0
 public static void TraceFail <T0, T1>(Guid activityId, string component, string formatString, T0 arg0, T1 arg1)
 {
     if (!SystemProbe.IsTraceEnabled(activityId))
     {
         return;
     }
     SystemProbe.AddToLog(activityId, component, SystemProbe.Status.Fail, formatString, new object[]
     {
         arg0,
         arg1
     });
 }