diff Implab/Diagnostics/ConsoleTraceListener.cs @ 133:6c49d02a9a05 v2

sync
author cin
date Mon, 09 Feb 2015 00:28:13 +0300
parents 1b7ebcc52e5a
children 04d4c92d0f28
line wrap: on
line diff
--- a/Implab/Diagnostics/ConsoleTraceListener.cs	Sat Feb 07 19:41:31 2015 +0300
+++ b/Implab/Diagnostics/ConsoleTraceListener.cs	Mon Feb 09 00:28:13 2015 +0300
@@ -23,10 +23,10 @@
 
             for (int i = 0; i < text.indent; i++)
                 msg.Append("  ");
-            msg.AppendFormat("[{0}]:{1}: {2}", args.ThreadId, channel, text.content);
+            msg.AppendFormat("[{0}]: {1}", args.ThreadId, text.content);
 
             lock (_consoleLock) {
-                //Console.ForegroundColor = (ConsoleColor)(args.ThreadId % 15 + 1);
+                Console.ForegroundColor = (ConsoleColor)(args.ThreadId % 15 + 1);
                 Console.WriteLine(msg);
             }
         }