6 instantiations of TraceSourceLoggerProvider
Microsoft.Extensions.Logging.TraceSource (6)
TraceSourceFactoryExtensions.cs (6)
32
factory.AddProvider(new
TraceSourceLoggerProvider
(sourceSwitch, listener));
50
factory.AddProvider(new
TraceSourceLoggerProvider
(sourceSwitch));
70
factory.AddProvider(new
TraceSourceLoggerProvider
(new SourceSwitch(switchName), listener));
88
factory.AddProvider(new
TraceSourceLoggerProvider
(new SourceSwitch(switchName)));
141
builder.Services.AddSingleton<ILoggerProvider>(_ => new
TraceSourceLoggerProvider
(sourceSwitch));
162
builder.Services.AddSingleton<ILoggerProvider>(_ => new
TraceSourceLoggerProvider
(sourceSwitch, listener));
3 references to TraceSourceLoggerProvider
Microsoft.Extensions.Logging.TraceSource (3)
TraceSourceFactoryExtensions.cs (1)
13
/// Extension methods for setting up <see cref="
TraceSourceLoggerProvider
"/> on a <see cref="ILoggingBuilder"/>.
TraceSourceLoggerProvider.cs (2)
25
/// Initializes a new instance of the <see cref="
TraceSourceLoggerProvider
"/> class.
34
/// Initializes a new instance of the <see cref="
TraceSourceLoggerProvider
"/> class.