public CdsClientTests(ITestOutputHelper output) { outputListner = output; TraceControlSettings.TraceLevel = System.Diagnostics.SourceLevels.Verbose; TraceConsoleSupport traceConsoleSupport = new TraceConsoleSupport(outputListner); TraceControlSettings.CloseListeners(); TraceControlSettings.AddTraceListener(traceConsoleSupport); }
public ClientTests(ITestOutputHelper output) { outputListner = output; TraceControlSettings.TraceLevel = System.Diagnostics.SourceLevels.Verbose; TraceConsoleSupport traceConsoleSupport = new TraceConsoleSupport(outputListner); TraceControlSettings.CloseListeners(); TraceControlSettings.AddTraceListener(traceConsoleSupport); ILoggerFactory loggerFactory = LoggerFactory.Create(builder => builder.AddConsole(options => { options.IncludeScopes = true; options.TimestampFormat = "hh:mm:ss "; })); Ilogger = loggerFactory.CreateLogger <ClientTests>(); }