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
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
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
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre