예제 #1
0
 /// <summary> Print a message on the provided tracer. </summary>
 /// <remarks> Used internally by the compiled interfaces. </remarks>
 public static void Emit(
     BaseTrace bt,
     string message,
     Dictionary <string, object> ctx,
     LogLevel level)
 =>
 bt.EmitLogMessage(message, ctx, level);
예제 #2
0
 /// <summary> Print a message and exception on the provided tracer. </summary>
 /// <remarks> Used internally by the compiled interfaces. </remarks>
 public static void EmitWithException(
     BaseTrace bt,
     Exception ex,
     string message,
     Dictionary <string, object> ctx,
     LogLevel level)
 =>
 bt.EmitLogMessage(ex, message, ctx, level);