public TestCommonLoggingEntlibTraceListener(CommonLoggingEntlibTraceListenerData data, ILogFormatter logFormatter) : base(data, logFormatter) { if (Instance != null) { throw new NotSupportedException(this.GetType().FullName + " supports only one instance"); } Instance = this; }
public TestCommonLoggingEntlibTraceListener(CommonLoggingEntlibTraceListenerData data, ILogFormatter logFormatter) : base(data, logFormatter) { if (Instance != null) { throw new NotSupportedException(this.GetType().FullName + " supports only one instance"); } Instance = this; }
public CaptureContext(TestCommonLoggingEntlibTraceListener owner) { owner.logEnabled = true; _owner = owner; }
public CaptureContext(TestCommonLoggingEntlibTraceListener owner) { owner.logEnabled = true; _owner = owner; }