EventLogLogger Constructors

Definition

Overloads

EventLogLogger(String)

Initializes a new instance of the EventLogLogger class.

EventLogLogger(String, EventLogSettings)

Initializes a new instance of the EventLogLogger class.

EventLogLogger(String, EventLogSettings, IExternalScopeProvider)

Initializes a new instance of the EventLogLogger class.

EventLogLogger(String)

Initializes a new instance of the EventLogLogger class.

public:
 EventLogLogger(System::String ^ name);
public EventLogLogger (string name);
new Microsoft.Extensions.Logging.EventLog.EventLogLogger : string -> Microsoft.Extensions.Logging.EventLog.EventLogLogger
Public Sub New (name As String)

Parameters

name
String

The name of the logger.

Applies to

EventLogLogger(String, EventLogSettings)

Initializes a new instance of the EventLogLogger class.

public:
 EventLogLogger(System::String ^ name, Microsoft::Extensions::Logging::EventLog::EventLogSettings ^ settings);
public EventLogLogger (string name, Microsoft.Extensions.Logging.EventLog.EventLogSettings settings);
new Microsoft.Extensions.Logging.EventLog.EventLogLogger : string * Microsoft.Extensions.Logging.EventLog.EventLogSettings -> Microsoft.Extensions.Logging.EventLog.EventLogLogger
Public Sub New (name As String, settings As EventLogSettings)

Parameters

name
String

The name of the logger.

Applies to

EventLogLogger(String, EventLogSettings, IExternalScopeProvider)

Initializes a new instance of the EventLogLogger class.

public:
 EventLogLogger(System::String ^ name, Microsoft::Extensions::Logging::EventLog::EventLogSettings ^ settings, Microsoft::Extensions::Logging::IExternalScopeProvider ^ externalScopeProvider);
public EventLogLogger (string name, Microsoft.Extensions.Logging.EventLog.EventLogSettings settings, Microsoft.Extensions.Logging.IExternalScopeProvider externalScopeProvider);
new Microsoft.Extensions.Logging.EventLog.EventLogLogger : string * Microsoft.Extensions.Logging.EventLog.EventLogSettings * Microsoft.Extensions.Logging.IExternalScopeProvider -> Microsoft.Extensions.Logging.EventLog.EventLogLogger
Public Sub New (name As String, settings As EventLogSettings, externalScopeProvider As IExternalScopeProvider)

Parameters

name
String

The name of the logger.

externalScopeProvider
IExternalScopeProvider

The IExternalScopeProvider.

Applies to