comparison Implab/Diagnostics/LogChannel.cs @ 134:04d4c92d0f28 v2

Improved logging
author cin
date Wed, 11 Feb 2015 02:12:15 +0300
parents 4c0e5ef99986
children d45bdf510514
comparison
equal deleted inserted replaced
133:6c49d02a9a05 134:04d4c92d0f28
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 traceContext.ThreadId, 73 traceContext.ThreadId,
73 traceContext.CurrentOperation, 74 traceContext.CurrentOperation,
74 traceContext.CurrentOperation.Duration 75 traceContext.CurrentOperation.Duration
75 ) 76 )
76 ); 77 );