diff Implab/Diagnostics/TraceEvent.cs @ 192:f1da3afc3521 release v2.1

Слияние с v2
author cin
date Fri, 22 Apr 2016 13:10:34 +0300
parents 6c49d02a9a05
children ea485487a424
line wrap: on
line diff
--- a/Implab/Diagnostics/TraceEvent.cs	Wed Sep 03 18:34:02 2014 +0400
+++ b/Implab/Diagnostics/TraceEvent.cs	Fri Apr 22 13:10:34 2016 +0300
@@ -1,7 +1,4 @@
 using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
 
 namespace Implab.Diagnostics {
     public class TraceEvent {
@@ -21,10 +18,8 @@
         }
 
         public override string ToString() {
-            if (EventType == TraceEventType.Information)
-                return Message;
-            else
-                return String.Format("{0}: {1}", EventType, Message);
+            /*return EventType == TraceEventType.Information ? Message : String.Format("{0}: {1}", EventType, Message);*/
+            return Message;
         }
 
         public static TraceEvent Create(TraceEventType type, string format, params object[] args) {