##// END OF EJS Templates
Добавлена метка v3.0.14 для набора изменений 95896f882995
Добавлена метка v3.0.14 для набора изменений 95896f882995

File last commit:

r289:95896f882995 v3.0.14 v3
r290:d1de82f869c9 v3
Show More
TraceSourceChannel.cs
26 lines | 693 B | text/x-csharp | CSharpLexer
/ Implab / src / Diagnostics / TraceSourceChannel.cs
cin
Added tests for Implab.ServiceHost.Unity configuration loader.
r289 using TraceSource = System.Diagnostics.TraceSource;
namespace Implab.Diagnostics {
/// <summary>
/// Trace channel which incapsulates <see cref="System.Diagnostics.TraceSource"/> instance.
/// </summary>
public class TraceSourceChannel : TraceChannel {
readonly TraceSource m_trace;
public TraceSourceChannel() : base(new object()) {
}
public TraceSourceChannel(object id) : base(id) {
}
public TraceSourceChannel(object id, string name) : base(id) {
m_trace = new TraceSource(name);
}
public TraceSource Source {
get {
return m_trace;
}
}
}
}