comparison Implab.Diagnostics.Interactive/InteractiveListener.cs @ 92:4c0e5ef99986 v2

rewritten tracing
author cin
date Wed, 22 Oct 2014 18:37:56 +0400
parents abe260860bd6
children 671f60cd0250
comparison
equal deleted inserted replaced
91:cdaaf4792c22 92:4c0e5ef99986
105 m_guiFinished.Join(); 105 m_guiFinished.Join();
106 } 106 }
107 base.Dispose(disposing); 107 base.Dispose(disposing);
108 } 108 }
109 109
110 protected override void WriteEntry(TraceContext context, EventText text, string channel) { 110 protected override void WriteEntry(LogEventArgs args, EventText text, string channel) {
111 var item = new TraceViewItem { 111 var item = new TraceViewItem {
112 Indent = text.indent, 112 Indent = text.indent,
113 Message = text.content, 113 Message = text.content,
114 Thread = context.ThreadId, 114 Thread = args.ThreadId,
115 Channel = channel, 115 Channel = channel,
116 Timestamp = Environment.TickCount 116 Timestamp = Environment.TickCount
117 }; 117 };
118 118
119 Enqueue(item); 119 Enqueue(item);