diff Implab/Diagnostics/TraceContext.cs @ 195:ea485487a424 v2

minor changes
author cin
date Wed, 04 May 2016 12:28:08 +0300
parents 04d4c92d0f28
children 71e543dbe65a
line wrap: on
line diff
--- a/Implab/Diagnostics/TraceContext.cs	Mon Apr 25 15:18:56 2016 +0300
+++ b/Implab/Diagnostics/TraceContext.cs	Wed May 04 12:28:08 2016 +0300
@@ -56,9 +56,8 @@
             StartLogicalOperation(String.Empty);
         }
 
-        public void EndLogicalOperation() {
-            var op = m_current.EndLogicalOperation();
-            LogChannel<TraceEvent>.Default.LogEvent(new TraceEvent(TraceEventType.OperationCompleted, String.Format("-{0} : {1}ms",op.Name, op.Duration)));
+        public LogicalOperation EndLogicalOperation() {
+            return m_current.EndLogicalOperation();
         }
 
         public LogicalOperation DetachLogicalOperation() {