DebugLoggerFactoryExtensions.AddDebug 메서드

정의

오버로드

AddDebug(ILoggerFactory)

LogLevel.Information 이상에 사용하도록 설정된 디버그 로거를 추가합니다.Adds a debug logger that is enabled for LogLevel.Information or higher.

AddDebug(ILoggingBuilder)

‘Debug’라는 디버그 로거를 팩터리에 추가합니다.Adds a debug logger named 'Debug' to the factory.

AddDebug(ILoggerFactory, LogLevel)

minLevel 이상의 LogLevel에 사용하도록 설정된 디버그 로거를 추가합니다.Adds a debug logger that is enabled for LogLevels of minLevel or higher.

AddDebug(ILoggerFactory, Func<String,LogLevel,Boolean>)

필터 함수에 정의된 대로 설정되는 디버그 로거를 추가합니다.Adds a debug logger that is enabled as defined by the filter function.

AddDebug(ILoggerFactory)

경고

이 API는 현재 사용되지 않습니다.

LogLevel.Information 이상에 사용하도록 설정된 디버그 로거를 추가합니다.Adds a debug logger that is enabled for LogLevel.Information or higher.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggerFactory ^ AddDebug(Microsoft::Extensions::Logging::ILoggerFactory ^ factory);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).")]
public static Microsoft.Extensions.Logging.ILoggerFactory AddDebug (this Microsoft.Extensions.Logging.ILoggerFactory factory);
static member AddDebug : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.Extensions.Logging.ILoggerFactory
<Extension()>
Public Function AddDebug (factory As ILoggerFactory) As ILoggerFactory

매개 변수

factory
ILoggerFactory

확장 메서드 인수입니다.The extension method argument.

반환

특성

AddDebug(ILoggingBuilder)

‘Debug’라는 디버그 로거를 팩터리에 추가합니다.Adds a debug logger named 'Debug' to the 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

확장 메서드 인수입니다.The extension method argument.

반환

AddDebug(ILoggerFactory, LogLevel)

경고

이 API는 현재 사용되지 않습니다.

minLevel 이상의 LogLevel에 사용하도록 설정된 디버그 로거를 추가합니다.Adds a debug logger that is enabled for LogLevels of minLevel or higher.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggerFactory ^ AddDebug(Microsoft::Extensions::Logging::ILoggerFactory ^ factory, Microsoft::Extensions::Logging::LogLevel minLevel);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).")]
public static Microsoft.Extensions.Logging.ILoggerFactory AddDebug (this Microsoft.Extensions.Logging.ILoggerFactory factory, Microsoft.Extensions.Logging.LogLevel minLevel);
static member AddDebug : Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Logging.LogLevel -> Microsoft.Extensions.Logging.ILoggerFactory
<Extension()>
Public Function AddDebug (factory As ILoggerFactory, minLevel As LogLevel) As ILoggerFactory

매개 변수

factory
ILoggerFactory

확장 메서드 인수입니다.The extension method argument.

minLevel
LogLevel

로깅할 최소 LogLevel입니다.The minimum LogLevel to be logged

반환

특성

AddDebug(ILoggerFactory, Func<String,LogLevel,Boolean>)

경고

이 API는 현재 사용되지 않습니다.

필터 함수에 정의된 대로 설정되는 디버그 로거를 추가합니다.Adds a debug logger that is enabled as defined by the filter function.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggerFactory ^ AddDebug(Microsoft::Extensions::Logging::ILoggerFactory ^ factory, Func<System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ filter);
[System.Obsolete("This method is obsolete and will be removed in a future version. The recommended alternative is AddDebug(this ILoggingBuilder builder).")]
public static Microsoft.Extensions.Logging.ILoggerFactory AddDebug (this Microsoft.Extensions.Logging.ILoggerFactory factory, Func<string,Microsoft.Extensions.Logging.LogLevel,bool> filter);
static member AddDebug : Microsoft.Extensions.Logging.ILoggerFactory * Func<string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.ILoggerFactory
<Extension()>
Public Function AddDebug (factory As ILoggerFactory, filter As Func(Of String, LogLevel, Boolean)) As ILoggerFactory

매개 변수

factory
ILoggerFactory

확장 메서드 인수입니다.The extension method argument.

filter
Func<String,LogLevel,Boolean>

로그 수준을 기준으로 이벤트를 필터링하는 데 사용되는 함수입니다.The function used to filter events based on the log level.

반환

특성

적용 대상