EventLoggerFactoryExtensions Class

Definition

Extension methods for the ILoggerFactory class.

public ref class EventLoggerFactoryExtensions abstract sealed
public static class EventLoggerFactoryExtensions
type EventLoggerFactoryExtensions = class
Public Module EventLoggerFactoryExtensions
Inheritance
EventLoggerFactoryExtensions

Methods

AddEventLog(ILoggerFactory)

Adds an event logger that is enabled for LogLevel.Information or higher.

AddEventLog(ILoggerFactory, EventLogSettings)

Adds an event logger. Use settings to enable logging for specific LogLevels.

AddEventLog(ILoggerFactory, LogLevel)

Adds an event logger that is enabled for LogLevels of minLevel or higher.

AddEventLog(ILoggingBuilder)

Adds an event logger named 'EventLog' to the factory.

AddEventLog(ILoggingBuilder, Action<EventLogSettings>)

Adds an event logger. Use configure to enable logging for specific LogLevels.

AddEventLog(ILoggingBuilder, EventLogSettings)

Adds an event logger. Use settings to enable logging for specific LogLevels.

Applies to