comparison Implab/Diagnostics/TraceLog.cs @ 52:edf0bc558596

improved trace system
author cin
date Mon, 05 May 2014 07:35:48 +0400
parents fe33f4e02ad5
children 790e8a997d30
comparison
equal deleted inserted replaced
51:2c332a9c64c0 52:edf0bc558596
26 public static void EndLogicalOperation() { 26 public static void EndLogicalOperation() {
27 TraceContext.Current.EndLogicalOperation(); 27 TraceContext.Current.EndLogicalOperation();
28 } 28 }
29 29
30 [Conditional("TRACE")] 30 [Conditional("TRACE")]
31 public static void BindLogicalOperationToPromise(IPromiseBase promise) {
32 TraceContext.Current.BindLogicalOperationToPromise(promise);
33 }
34
35 [Conditional("TRACE")]
31 public static void TraceInformation(string format, params object[] arguments) { 36 public static void TraceInformation(string format, params object[] arguments) {
32 LogChannel<TraceEvent>.Default.LogEvent(TraceEvent.Create(TraceEventType.Information, format, arguments)); 37 LogChannel<TraceEvent>.Default.LogEvent(TraceEvent.Create(TraceEventType.Information, format, arguments));
33 } 38 }
34 39
35 [Conditional("TRACE")] 40 [Conditional("TRACE")]