Microsoft.Extensions.Logging.EventLog.EventLogLogger
A logger that writes messages to Windows Event Log.
The event log.
public EventLogLogger(string name, EventLogSettings settings, IExternalScopeProvider externalScopeProvider)
Initializes a new instance of the EventLogLogger class.
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)