comparison Implab/Diagnostics/LogChannel.cs @ 194:d45bdf510514 v2

working on diagnostics
author cin
date Mon, 25 Apr 2016 15:18:56 +0300
parents 04d4c92d0f28
children
comparison
equal deleted inserted replaced
191:cc19dc78edb7 194:d45bdf510514
67 var traceContext = TraceContext.Instance; 67 var traceContext = TraceContext.Instance;
68 t( 68 t(
69 this, 69 this,
70 new LogEventArgs<TEvent>( 70 new LogEventArgs<TEvent>(
71 data, 71 data,
72 Name, 72 this,
73 traceContext.ThreadId, 73 traceContext.ThreadId,
74 traceContext.CurrentOperation, 74 traceContext.CurrentOperation,
75 traceContext.CurrentOperation.Duration 75 traceContext.CurrentOperation.Duration
76 ) 76 )
77 ); 77 );
78 } 78 }
79 } 79 }
80
81 public override string ToString() {
82 return Name;
83 }
80 } 84 }
81 } 85 }