Mercurial > pub > ImplabNet
comparison Implab/Diagnostics/TraceContext.cs @ 119:2573b562e328 v2
Promises rewritten, added improved version of AsyncQueue
author | cin |
---|---|
date | Sun, 11 Jan 2015 19:13:02 +0300 |
parents | a43745f81f10 |
children | 6c49d02a9a05 |
comparison
equal
deleted
inserted
replaced
118:e046a94eecb1 | 119:2573b562e328 |
---|---|
72 m_current.Leave(); | 72 m_current.Leave(); |
73 var prev = CurrentOperation; | 73 var prev = CurrentOperation; |
74 m_current = m_stack.Pop(); | 74 m_current = m_stack.Pop(); |
75 LogChannel<TraceEvent>.Default.LogEvent(new TraceEvent(TraceEventType.Leave, String.Format("{0} -> {1}", prev.Name, CurrentOperation.Name))); | 75 LogChannel<TraceEvent>.Default.LogEvent(new TraceEvent(TraceEventType.Leave, String.Format("{0} -> {1}", prev.Name, CurrentOperation.Name))); |
76 } else { | 76 } else { |
77 TraceLog.TraceWarning("Attemtp to leave the last operation context"); | 77 TraceLog.TraceWarning("Attempt to leave the last operation context"); |
78 m_current = OperationContext.EMPTY; | 78 m_current = OperationContext.EMPTY; |
79 } | 79 } |
80 } | 80 } |
81 } | 81 } |
82 } | 82 } |