diff Implab/Diagnostics/TextFileListener.cs @ 217:6efb77590b15 v2

More verbose output with TextFileListener
author cin
date Tue, 02 May 2017 17:33:04 +0300
parents 8200ab154c8a
children
line wrap: on
line diff
--- a/Implab/Diagnostics/TextFileListener.cs	Tue Apr 25 19:51:33 2017 +0300
+++ b/Implab/Diagnostics/TextFileListener.cs	Tue May 02 17:33:04 2017 +0300
@@ -19,7 +19,7 @@
             var msg = new StringBuilder();
             for (int i = 0; i < args.Operation.Level; i++)
                 msg.Append("  ");
-            msg.AppendFormat("[{0}]:{1}: {2}", args.ThreadId, args.Channel, entry);
+            msg.AppendFormat("[{0}]+{3}ms:{1}: {2}", args.ThreadId, args.Channel, entry, args.OperationTimeOffset);
 
             lock (m_lock) {
                 if (!IsDisposed) {