EventSourceLoggerFactoryExtensions Class

Definition

Extension methods for the ILoggerFactory class.

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

Methods

AddEventSourceLogger(ILoggerFactory)
Obsolete.

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

AddEventSourceLogger(ILoggingBuilder)

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

Applies to