2 instantiations of EventLogLoggerProvider
Microsoft.Extensions.Logging.EventLog (2)
EventLoggerFactoryExtensions.cs (2)
29
factory.AddProvider(new
EventLogLoggerProvider
(settings));
76
builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<ILoggerProvider>(new
EventLogLoggerProvider
(settings)));
6 references to EventLogLoggerProvider
Microsoft.AspNetCore.FunctionalTests (1)
WebApplicationFunctionalTests.cs (1)
123
builder.Logging.AddFilter<
EventLogLoggerProvider
>(_ => false);
Microsoft.Extensions.Hosting (1)
HostingHostBuilderExtensions.cs (1)
291
logging.AddFilter<
EventLogLoggerProvider
>(level => level >= LogLevel.Warning);
Microsoft.Extensions.Logging.EventLog (4)
EventLoggerFactoryExtensions.cs (1)
60
builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<ILoggerProvider,
EventLogLoggerProvider
>());
EventLogLoggerProvider.cs (3)
19
/// Initializes a new instance of the <see cref="
EventLogLoggerProvider
"/> class.
27
/// Initializes a new instance of the <see cref="
EventLogLoggerProvider
"/> class.
36
/// Initializes a new instance of the <see cref="
EventLogLoggerProvider
"/> class.