diff Implab/Diagnostics/LogChannel.cs @ 194:d45bdf510514 v2

working on diagnostics
author cin
date Mon, 25 Apr 2016 15:18:56 +0300
parents 04d4c92d0f28
children
line wrap: on
line diff
--- a/Implab/Diagnostics/LogChannel.cs	Fri Apr 22 13:09:57 2016 +0300
+++ b/Implab/Diagnostics/LogChannel.cs	Mon Apr 25 15:18:56 2016 +0300
@@ -69,7 +69,7 @@
                     this,
                     new LogEventArgs<TEvent>(
                         data,
-                        Name,
+                        this,
                         traceContext.ThreadId,
                         traceContext.CurrentOperation,
                         traceContext.CurrentOperation.Duration
@@ -77,5 +77,9 @@
                 );
             }
         }
+
+        public override string ToString() {
+            return Name;
+        }
     }
 }