##// END OF EJS Templates
Added class Trace<T> to manage channels for individual classes, if SomeClass...
Added class Trace<T> to manage channels for individual classes, if SomeClass uses Trace<SomeClass> it sould be marked with TraceSourceAttribute

File last commit:

r194:d45bdf510514 v2
r212:a01d9df88d74 v2
Show More
LogEventArgs.cs
29 lines | 716 B | text/x-csharp | CSharpLexer
using System;
namespace Implab.Diagnostics {
public class LogEventArgs : EventArgs {
public object Channel {
get;
private set;
}
public int ThreadId {
get;
private set;
}
public LogicalOperation Operation {
get;
private set;
}
public int OperationTimeOffset {
get;
private set;
}
public LogEventArgs(object channel, int threadId, LogicalOperation operation, int timeOffset) {
Channel = channel;
ThreadId = threadId;
Operation = operation;
OperationTimeOffset = timeOffset;
}
}
}