LoggingBuilderExtensions.SetMinimumLevel(ILoggingBuilder, LogLevel) 메서드

정의

로그 메시지를 기록하기 위한 최소 LogLevel 요구 사항을 설정합니다.Sets a minimum LogLevel requirement for log messages to be logged.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Logging::ILoggingBuilder ^ SetMinimumLevel(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Microsoft::Extensions::Logging::LogLevel level);
public static Microsoft.Extensions.Logging.ILoggingBuilder SetMinimumLevel (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.LogLevel level);
static member SetMinimumLevel : Microsoft.Extensions.Logging.ILoggingBuilder * Microsoft.Extensions.Logging.LogLevel -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function SetMinimumLevel (builder As ILoggingBuilder, level As LogLevel) As ILoggingBuilder

매개 변수

builder
ILoggingBuilder

최소 수준을 설정할 로깅 작성기입니다.The logging builder to set the minimum level on.

level
LogLevel

최소 로깅 심각도 수준으로 설정할 열거형 값 중 하나입니다.One of the enumeration values to set as the minimum logging severity level.

반환

ILoggingBuilder

최소 로그 수준이 설정된 로깅 작성기입니다.The logging builder with minimum log level set.

적용 대상