diff Implab/Diagnostics/TraceLog.cs @ 192:f1da3afc3521 release v2.1

Слияние с v2
author cin
date Fri, 22 Apr 2016 13:10:34 +0300
parents 4c0e5ef99986
children ea485487a424
line wrap: on
line diff
--- a/Implab/Diagnostics/TraceLog.cs	Wed Sep 03 18:34:02 2014 +0400
+++ b/Implab/Diagnostics/TraceLog.cs	Fri Apr 22 13:10:34 2016 +0300
@@ -14,22 +14,17 @@
     public static class TraceLog {
         [Conditional("TRACE")]
         public static void StartLogicalOperation() {
-            TraceContext.Current.StartLogicalOperation();
+            TraceContext.Instance.StartLogicalOperation();
         }
 
         [Conditional("TRACE")]
         public static void StartLogicalOperation(string name) {
-            TraceContext.Current.StartLogicalOperation(name);
+            TraceContext.Instance.StartLogicalOperation(name);
         }
 
         [Conditional("TRACE")]
         public static void EndLogicalOperation() {
-            TraceContext.Current.EndLogicalOperation();
-        }
-
-        [Conditional("TRACE")]
-        public static void BindLogicalOperationToPromise(IPromise promise) {
-            TraceContext.Current.BindLogicalOperationToPromise(promise);
+            TraceContext.Instance.EndLogicalOperation();
         }
 
         [Conditional("TRACE")]