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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.