2 instantiations of EventLogSettings
Microsoft.Extensions.Logging.EventLog (2)
EventLoggerFactoryExtensions.cs (1)
41AddEventLog(factory, new EventLogSettings() { Filter = (_, logLevel) => logLevel >= minLevel });
EventLogLoggerProvider.cs (1)
32_settings = settings ?? new EventLogSettings();
16 references to EventLogSettings
Microsoft.Extensions.Hosting.WindowsServices (3)
WindowsServiceLifetimeHostBuilderExtensions.cs (3)
121services.AddSingleton<IConfigureOptions<EventLogSettings>, EventLogSettingsSetup>(); 125private sealed class EventLogSettingsSetup : IConfigureOptions<EventLogSettings> 134public void Configure(EventLogSettings settings)
Microsoft.Extensions.Logging.EventLog (13)
EventLoggerFactoryExtensions.cs (6)
21/// <param name="settings">The <see cref="EventLogSettings"/>.</param> 24public static ILoggerFactory AddEventLog(this ILoggerFactory factory, EventLog.EventLogSettings settings) 69/// <param name="settings">The <see cref="EventLogSettings"/>.</param> 71public static ILoggingBuilder AddEventLog(this ILoggingBuilder builder, EventLogSettings settings) 85/// <param name="configure">A delegate to configure the <see cref="EventLogSettings"/>.</param> 87public static ILoggingBuilder AddEventLog(this ILoggingBuilder builder, Action<EventLogSettings> configure)
EventLogLogger.cs (3)
17private readonly EventLogSettings _settings; 28/// <param name="settings">The <see cref="EventLogSettings"/>.</param> 30public EventLogLogger(string name, EventLogSettings settings, IExternalScopeProvider? externalScopeProvider)
EventLogLoggerProvider.cs (4)
14internal readonly EventLogSettings _settings; 29/// <param name="settings">The <see cref="EventLogSettings"/>.</param> 30public EventLogLoggerProvider(EventLogSettings? settings) 39public EventLogLoggerProvider(IOptions<EventLogSettings> options)