共用方式為


DebugLoggerFactoryExtensions.AddDebug(ILoggingBuilder) 方法

定義

將名為 '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

擴充方法引數。

傳回

適用於