<PackageReference Include="Microsoft.Extensions.Logging.EventLog" Version="11.0.0-preview.2.26159.112" />

Microsoft.Extensions.Logging.EventLog.EventLogSettings

public class EventLogSettings
Settings for EventLogLogger.
public Func<string, LogLevel, bool> Filter { get; set; }

Gets or sets the function used to filter events based on the log level.

public string LogName { get; set; }

Gets or sets the name of the event log. If null or not specified, "Application" is the default.

public string MachineName { get; set; }

Gets or sets the name of the machine with the event log. If null or not specified, local machine is the default.

public string SourceName { get; set; }

Gets or sets the name of the event log source. If null or not specified, ".NET Runtime" is the default.