diff Implab/Diagnostics/LogEventArgs.cs @ 134:04d4c92d0f28 v2

Improved logging
author cin
date Wed, 11 Feb 2015 02:12:15 +0300
parents 4c0e5ef99986
children d45bdf510514
line wrap: on
line diff
--- a/Implab/Diagnostics/LogEventArgs.cs	Mon Feb 09 00:28:13 2015 +0300
+++ b/Implab/Diagnostics/LogEventArgs.cs	Wed Feb 11 02:12:15 2015 +0300
@@ -2,6 +2,10 @@
 
 namespace Implab.Diagnostics {
     public class LogEventArgs : EventArgs {
+        public string ChannelName {
+            get;
+            private set;
+        }
         public int ThreadId {
             get;
             private set;
@@ -14,7 +18,8 @@
             get;
             private set;
         }
-        public LogEventArgs(int threadId, LogicalOperation operation, int timeOffset) {
+        public LogEventArgs(string channelName, int threadId, LogicalOperation operation, int timeOffset) {
+            ChannelName = channelName;
             ThreadId = threadId;
             Operation = operation;
             OperationTimeOffset = timeOffset;