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
- 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
- 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.