EventLoggerFactoryExtensions EventLoggerFactoryExtensions EventLoggerFactoryExtensions Class

Definition

Extension methods for the ILoggerFactory class.

public static class EventLoggerFactoryExtensions
type EventLoggerFactoryExtensions = class
Public Module EventLoggerFactoryExtensions
Inheritance
EventLoggerFactoryExtensionsEventLoggerFactoryExtensionsEventLoggerFactoryExtensions

Methods

AddEventLog(ILoggerFactory) AddEventLog(ILoggerFactory) AddEventLog(ILoggerFactory)

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

AddEventLog(ILoggingBuilder) AddEventLog(ILoggingBuilder) AddEventLog(ILoggingBuilder)

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

AddEventLog(ILoggerFactory, EventLogSettings) AddEventLog(ILoggerFactory, EventLogSettings) AddEventLog(ILoggerFactory, EventLogSettings)

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

AddEventLog(ILoggerFactory, LogLevel) AddEventLog(ILoggerFactory, LogLevel) AddEventLog(ILoggerFactory, LogLevel)

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

AddEventLog(ILoggingBuilder, EventLogSettings) AddEventLog(ILoggingBuilder, EventLogSettings) AddEventLog(ILoggingBuilder, EventLogSettings)

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

Applies to