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


TraceSourceLoggerProvider Constructors

Definition

Overloads

TraceSourceLoggerProvider(SourceSwitch)

Initializes a new instance of the TraceSourceLoggerProvider class.

TraceSourceLoggerProvider(SourceSwitch, TraceListener)

Initializes a new instance of the TraceSourceLoggerProvider class.

TraceSourceLoggerProvider(SourceSwitch)

Source:
TraceSourceLoggerProvider.cs
Source:
TraceSourceLoggerProvider.cs
Source:
TraceSourceLoggerProvider.cs

Initializes a new instance of the TraceSourceLoggerProvider class.

public:
 TraceSourceLoggerProvider(System::Diagnostics::SourceSwitch ^ rootSourceSwitch);
public TraceSourceLoggerProvider (System.Diagnostics.SourceSwitch rootSourceSwitch);
new Microsoft.Extensions.Logging.TraceSource.TraceSourceLoggerProvider : System.Diagnostics.SourceSwitch -> Microsoft.Extensions.Logging.TraceSource.TraceSourceLoggerProvider
Public Sub New (rootSourceSwitch As SourceSwitch)

Parameters

rootSourceSwitch
SourceSwitch

The SourceSwitch to use.

Applies to

TraceSourceLoggerProvider(SourceSwitch, TraceListener)

Source:
TraceSourceLoggerProvider.cs
Source:
TraceSourceLoggerProvider.cs
Source:
TraceSourceLoggerProvider.cs

Initializes a new instance of the TraceSourceLoggerProvider class.

public:
 TraceSourceLoggerProvider(System::Diagnostics::SourceSwitch ^ rootSourceSwitch, System::Diagnostics::TraceListener ^ rootTraceListener);
public TraceSourceLoggerProvider (System.Diagnostics.SourceSwitch rootSourceSwitch, System.Diagnostics.TraceListener? rootTraceListener);
new Microsoft.Extensions.Logging.TraceSource.TraceSourceLoggerProvider : System.Diagnostics.SourceSwitch * System.Diagnostics.TraceListener -> Microsoft.Extensions.Logging.TraceSource.TraceSourceLoggerProvider
Public Sub New (rootSourceSwitch As SourceSwitch, rootTraceListener As TraceListener)

Parameters

rootSourceSwitch
SourceSwitch

The SourceSwitch to use.

rootTraceListener
TraceListener

The TraceListener to use.

Applies to