DebugLoggerFactoryExtensions.AddDebug(ILoggingBuilder) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將名為 'Debug' 的偵錯記錄器新增至 Factory。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddDebug(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddDebug (this Microsoft.Extensions.Logging.ILoggingBuilder builder);
static member AddDebug : Microsoft.Extensions.Logging.ILoggingBuilder -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddDebug (builder As ILoggingBuilder) As ILoggingBuilder
參數
- builder
- ILoggingBuilder
擴充方法引數。