示例#1
0
 void TraceInternal(TraceEventCache eventCache, string xmlApplicationData, int eventId, TraceEventType type)
 {
     EtwTrace.Trace(xmlApplicationData, TraceTypeOf(type));
 }
示例#2
0
 public override void TraceTransfer(TraceEventCache eventCache, String source, int id, string message, Guid relatedActivityId)
 {
     EtwTrace.TraceTransfer(relatedActivityId);
 }
示例#3
0
 public override void Close()
 {
     EtwTrace.Dispose();
 }
示例#4
0
 static void UnhandledExceptionHandler(object sender, UnhandledExceptionEventArgs args)
 {
     EtwTrace.Dispose();
 }
示例#5
0
 static void ExitOrUnloadEventHandler(object sender, EventArgs e)
 {
     EtwTrace.Dispose();
 }
示例#6
0
 internal static void Trace(string xml, TraceType type)
 {
     TraceInternal(EtwTrace.GetActivityId(), xml, type);
 }
示例#7
0
 public override void WriteLine(string text)
 {
     EtwTrace.Trace(text, TraceType.Trace);
 }