TraceEvent() public static method

public static TraceEvent ( TraceEventType eventType, int id, string format ) : void
eventType TraceEventType
id int
format string
return void
Beispiel #1
0
 public static void TraceError(string message)
 {
     TraceInternal.TraceEvent(TraceEventType.Error, 0, message, null);
 }
Beispiel #2
0
 public static void TraceError(string format, params object[] args)
 {
     TraceInternal.TraceEvent(TraceEventType.Error, 0, format, args);
 }
Beispiel #3
0
 public static void TraceWarning(string format, params object[] args)
 {
     TraceInternal.TraceEvent(TraceEventType.Warning, 0, format, args);
 }
Beispiel #4
0
 public static void TraceWarning(string message)
 {
     TraceInternal.TraceEvent(TraceEventType.Warning, 0, message, null);
 }
Beispiel #5
0
 public static void TraceInformation(string message)
 {
     TraceInternal.TraceEvent(TraceEventType.Information, 0, message, null);
 }
Beispiel #6
0
 public static void TraceInformation(string format, params object?[]?args)
 {
     TraceInternal.TraceEvent(TraceEventType.Information, 0, format, args);
 }
Beispiel #7
0
 public static void TraceError([StringSyntax(StringSyntaxAttribute.CompositeFormat)] string format, params object?[]?args)
 {
     TraceInternal.TraceEvent(TraceEventType.Error, 0, format, args);
 }