public static void TraceWarning(string sessionId, string format, params object[] objparams) { TraceHelper.TraceString(sessionId, TraceEventType.Warning, TraceHelper.CombineTraceString(format, objparams)); }
public static void TraceException(string sessionId, TraceEventType traceLevel, string description, Exception exception) { TraceHelper.TraceString(sessionId, traceLevel, TraceHelper.Exception2String(description, exception)); }
/// <summary> /// trace event /// </summary> /// <param name="traceLevel">the trace level.</param> /// <param name="format">the format string.</param> /// <param name="objparams">the parameters.</param> public static void TraceEvent(TraceEventType traceLevel, string format, params object[] objparams) { TraceHelper.TraceString("0", traceLevel, TraceHelper.CombineTraceString(format, objparams)); }
public static void TraceException(string sessionId, Exception exception) { TraceHelper.TraceString(sessionId, TraceEventType.Error, TraceHelper.Exception2String(null, exception)); }