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