Microsoft.Extensions.Logging.EventSource.EventSourceLogger
A logger that writes messages to EventSource instance.
public EventSourceLogger(string categoryName, int factoryID, LoggingEventSource eventSource, EventSourceLogger next)
public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)