changeset 217:6efb77590b15 v2

More verbose output with TextFileListener
author cin
date Tue, 02 May 2017 17:33:04 +0300
parents 1e082fb67a46
children babe55c34931
files Implab/Diagnostics/TextFileListener.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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) {