Κοινή χρήση μέσω


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(ILoggingBuilder, Action<EventLogSettings>)

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

AddEventLog(ILoggingBuilder, EventLogSettings)

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

AddEventLog(ILoggingBuilder)

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

Applies to