annotate Implab/Diagnostics/LogEventArgs.cs @ 226:9428ea36838e v2

fixed JSON parser error when parsing escaped double quote symbol
author cin
date Fri, 25 Aug 2017 02:16:35 +0300
parents d45bdf510514
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
92
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
1 using System;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
2
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
3 namespace Implab.Diagnostics {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
4 public class LogEventArgs : EventArgs {
194
d45bdf510514 working on diagnostics
cin
parents: 134
diff changeset
5 public object Channel {
134
04d4c92d0f28 Improved logging
cin
parents: 92
diff changeset
6 get;
04d4c92d0f28 Improved logging
cin
parents: 92
diff changeset
7 private set;
04d4c92d0f28 Improved logging
cin
parents: 92
diff changeset
8 }
92
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
9 public int ThreadId {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
10 get;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
11 private set;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
12 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
13 public LogicalOperation Operation {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
14 get;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
15 private set;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
16 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
17 public int OperationTimeOffset {
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
18 get;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
19 private set;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
20 }
194
d45bdf510514 working on diagnostics
cin
parents: 134
diff changeset
21 public LogEventArgs(object channel, int threadId, LogicalOperation operation, int timeOffset) {
d45bdf510514 working on diagnostics
cin
parents: 134
diff changeset
22 Channel = channel;
92
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
23 ThreadId = threadId;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
24 Operation = operation;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
25 OperationTimeOffset = timeOffset;
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
26 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
27 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
28 }
4c0e5ef99986 rewritten tracing
cin
parents:
diff changeset
29