Mercurial > pub > ImplabNet
comparison Implab/Diagnostics/TraceContext.cs @ 218:babe55c34931 v2
Trace logical operations in the correct channel
author | cin |
---|---|
date | Thu, 04 May 2017 02:17:53 +0300 |
parents | 71e543dbe65a |
children |
comparison
equal
deleted
inserted
replaced
217:6efb77590b15 | 218:babe55c34931 |
---|---|
46 m_stack.Push(m_current); | 46 m_stack.Push(m_current); |
47 m_current = new OperationContext(operation, takeOwnership); | 47 m_current = new OperationContext(operation, takeOwnership); |
48 } | 48 } |
49 | 49 |
50 public void StartLogicalOperation(string name) { | 50 public void StartLogicalOperation(string name) { |
51 LogChannel<TraceEvent>.Default.LogEvent(new TraceEvent(TraceContext.Instance.CurrentOperation, TraceEventType.OperationStarted, name)); | 51 //LogChannel<TraceEvent>.Default.LogEvent(new TraceEvent(TraceContext.Instance.CurrentOperation, TraceEventType.OperationStarted, name)); |
52 m_current.BeginLogicalOperation(name); | 52 m_current.BeginLogicalOperation(name); |
53 } | 53 } |
54 | 54 |
55 public void StartLogicalOperation() { | 55 public void StartLogicalOperation() { |
56 StartLogicalOperation(String.Empty); | 56 StartLogicalOperation(String.Empty); |