TraceSourceLoggerProvider Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.