diff Implab/Diagnostics/TraceEvent.cs @ 52:edf0bc558596

improved trace system
author cin
date Mon, 05 May 2014 07:35:48 +0400
parents 7c2369f580b8
children dc4942d09e74
line wrap: on
line diff
--- a/Implab/Diagnostics/TraceEvent.cs	Sat Apr 26 23:36:00 2014 +0400
+++ b/Implab/Diagnostics/TraceEvent.cs	Mon May 05 07:35:48 2014 +0400
@@ -21,7 +21,10 @@
         }
 
         public override string ToString() {
-            return String.Format("{0}: {1}", EventType, Message);
+            if (EventType == TraceEventType.Information)
+                return Message;
+            else
+                return String.Format("{0}: {1}", EventType, Message);
         }
 
         public static TraceEvent Create(TraceEventType type, string format, params object[] args) {