Condividi tramite


EventSourceLoggerProvider(LoggingEventSource) Constructor

Definition

Creates an instance of EventSourceLoggerProvider.

public:
 EventSourceLoggerProvider(Microsoft::Extensions::Logging::EventSource::LoggingEventSource ^ eventSource);
public EventSourceLoggerProvider (Microsoft.Extensions.Logging.EventSource.LoggingEventSource eventSource);
new Microsoft.Extensions.Logging.EventSource.EventSourceLoggerProvider : Microsoft.Extensions.Logging.EventSource.LoggingEventSource -> Microsoft.Extensions.Logging.EventSource.EventSourceLoggerProvider
Public Sub New (eventSource As LoggingEventSource)

Parameters

eventSource
LoggingEventSource

The logging event source.

Applies to