Serilog.Sinks.EventLog.EventLogSink
Writes log events as documents to the Windows event log.
public EventLogSink(string source, string logName, ITextFormatter textFormatter, string machineName, bool manageEventSource)
Construct a sink posting to the Windows event log, creating the specified source if it does not exist.
public EventLogSink(string source, string logName, ITextFormatter textFormatter, string machineName, bool manageEventSource, IEventIdProvider eventIdProvider)
Construct a sink posting to the Windows event log, creating the specified source if it does not exist.
Emit the provided log event to the sink.