FilterLoggingBuilderExtensions.AddFilter 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
AddFilter(ILoggingBuilder, Func<LogLevel,Boolean>)
팩터리에 로그 필터를 추가합니다.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddFilter(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Func<Microsoft::Extensions::Logging::LogLevel, bool> ^ levelFilter);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter);
static member AddFilter : Microsoft.Extensions.Logging.ILoggingBuilder * Func<Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddFilter (builder As ILoggingBuilder, levelFilter As Func(Of LogLevel, Boolean)) As ILoggingBuilder
매개 변수
- builder
- ILoggingBuilder
필터를 추가할 ILoggingBuilder입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter(LoggerFilterOptions, String, Func<LogLevel,Boolean>)
팩터리에 로그 필터를 추가합니다.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::LoggerFilterOptions ^ AddFilter(Microsoft::Extensions::Logging::LoggerFilterOptions ^ builder, System::String ^ category, Func<Microsoft::Extensions::Logging::LogLevel, bool> ^ levelFilter);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string category, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string? category, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter);
static member AddFilter : Microsoft.Extensions.Logging.LoggerFilterOptions * string * Func<Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.LoggerFilterOptions
<Extension()>
Public Function AddFilter (builder As LoggerFilterOptions, category As String, levelFilter As Func(Of LogLevel, Boolean)) As LoggerFilterOptions
매개 변수
- builder
- LoggerFilterOptions
필터를 추가할 ILoggingBuilder입니다.
- category
- String
필터링할 범주입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter(ILoggingBuilder, String, Func<LogLevel,Boolean>)
팩터리에 로그 필터를 추가합니다.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddFilter(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, System::String ^ category, Func<Microsoft::Extensions::Logging::LogLevel, bool> ^ levelFilter);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter (this Microsoft.Extensions.Logging.ILoggingBuilder builder, string category, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter (this Microsoft.Extensions.Logging.ILoggingBuilder builder, string? category, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter);
static member AddFilter : Microsoft.Extensions.Logging.ILoggingBuilder * string * Func<Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddFilter (builder As ILoggingBuilder, category As String, levelFilter As Func(Of LogLevel, Boolean)) As ILoggingBuilder
매개 변수
- builder
- ILoggingBuilder
필터를 추가할 ILoggingBuilder입니다.
- category
- String
필터링할 범주입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter(ILoggingBuilder, String, LogLevel)
팩터리에 로그 필터를 추가합니다.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddFilter(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, System::String ^ category, Microsoft::Extensions::Logging::LogLevel level);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter (this Microsoft.Extensions.Logging.ILoggingBuilder builder, string category, Microsoft.Extensions.Logging.LogLevel level);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter (this Microsoft.Extensions.Logging.ILoggingBuilder builder, string? category, Microsoft.Extensions.Logging.LogLevel level);
static member AddFilter : Microsoft.Extensions.Logging.ILoggingBuilder * string * Microsoft.Extensions.Logging.LogLevel -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddFilter (builder As ILoggingBuilder, category As String, level As LogLevel) As ILoggingBuilder
매개 변수
- builder
- ILoggingBuilder
필터를 추가할 ILoggingBuilder입니다.
- category
- String
필터링할 범주입니다.
- level
- LogLevel
필터링할 수준입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter(LoggerFilterOptions, Func<String,String,LogLevel,Boolean>)
팩터리에 로그 필터를 추가합니다.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::LoggerFilterOptions ^ AddFilter(Microsoft::Extensions::Logging::LoggerFilterOptions ^ builder, Func<System::String ^, System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ filter);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, Func<string,string,Microsoft.Extensions.Logging.LogLevel,bool> filter);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, Func<string?,string?,Microsoft.Extensions.Logging.LogLevel,bool> filter);
static member AddFilter : Microsoft.Extensions.Logging.LoggerFilterOptions * Func<string, string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.LoggerFilterOptions
<Extension()>
Public Function AddFilter (builder As LoggerFilterOptions, filter As Func(Of String, String, LogLevel, Boolean)) As LoggerFilterOptions
매개 변수
- builder
- LoggerFilterOptions
필터를 추가할 ILoggingBuilder입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter(LoggerFilterOptions, String, LogLevel)
팩터리에 로그 필터를 추가합니다.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::LoggerFilterOptions ^ AddFilter(Microsoft::Extensions::Logging::LoggerFilterOptions ^ builder, System::String ^ category, Microsoft::Extensions::Logging::LogLevel level);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string category, Microsoft.Extensions.Logging.LogLevel level);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string? category, Microsoft.Extensions.Logging.LogLevel level);
static member AddFilter : Microsoft.Extensions.Logging.LoggerFilterOptions * string * Microsoft.Extensions.Logging.LogLevel -> Microsoft.Extensions.Logging.LoggerFilterOptions
<Extension()>
Public Function AddFilter (builder As LoggerFilterOptions, category As String, level As LogLevel) As LoggerFilterOptions
매개 변수
- builder
- LoggerFilterOptions
필터를 추가할 ILoggingBuilder입니다.
- category
- String
필터링할 범주입니다.
- level
- LogLevel
필터링할 수준입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter(LoggerFilterOptions, Func<LogLevel,Boolean>)
팩터리에 로그 필터를 추가합니다.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::LoggerFilterOptions ^ AddFilter(Microsoft::Extensions::Logging::LoggerFilterOptions ^ builder, Func<Microsoft::Extensions::Logging::LogLevel, bool> ^ levelFilter);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter);
static member AddFilter : Microsoft.Extensions.Logging.LoggerFilterOptions * Func<Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.LoggerFilterOptions
<Extension()>
Public Function AddFilter (builder As LoggerFilterOptions, levelFilter As Func(Of LogLevel, Boolean)) As LoggerFilterOptions
매개 변수
- builder
- LoggerFilterOptions
필터를 추가할 ILoggingBuilder입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter(ILoggingBuilder, Func<String,String,LogLevel,Boolean>)
팩터리에 로그 필터를 추가합니다.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddFilter(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Func<System::String ^, System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ filter);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Func<string,string,Microsoft.Extensions.Logging.LogLevel,bool> filter);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Func<string?,string?,Microsoft.Extensions.Logging.LogLevel,bool> filter);
static member AddFilter : Microsoft.Extensions.Logging.ILoggingBuilder * Func<string, string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddFilter (builder As ILoggingBuilder, filter As Func(Of String, String, LogLevel, Boolean)) As ILoggingBuilder
매개 변수
- builder
- ILoggingBuilder
필터를 추가할 ILoggingBuilder입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter(ILoggingBuilder, Func<String,LogLevel,Boolean>)
팩터리에 로그 필터를 추가합니다.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddFilter(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Func<System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ categoryLevelFilter);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Func<string,Microsoft.Extensions.Logging.LogLevel,bool> categoryLevelFilter);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Func<string?,Microsoft.Extensions.Logging.LogLevel,bool> categoryLevelFilter);
static member AddFilter : Microsoft.Extensions.Logging.ILoggingBuilder * Func<string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.ILoggingBuilder
<Extension()>
Public Function AddFilter (builder As ILoggingBuilder, categoryLevelFilter As Func(Of String, LogLevel, Boolean)) As ILoggingBuilder
매개 변수
- builder
- ILoggingBuilder
필터를 추가할 ILoggingBuilder입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter(LoggerFilterOptions, Func<String,LogLevel,Boolean>)
팩터리에 로그 필터를 추가합니다.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::LoggerFilterOptions ^ AddFilter(Microsoft::Extensions::Logging::LoggerFilterOptions ^ builder, Func<System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ categoryLevelFilter);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, Func<string,Microsoft.Extensions.Logging.LogLevel,bool> categoryLevelFilter);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, Func<string?,Microsoft.Extensions.Logging.LogLevel,bool> categoryLevelFilter);
static member AddFilter : Microsoft.Extensions.Logging.LoggerFilterOptions * Func<string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.LoggerFilterOptions
<Extension()>
Public Function AddFilter (builder As LoggerFilterOptions, categoryLevelFilter As Func(Of String, LogLevel, Boolean)) As LoggerFilterOptions
매개 변수
- builder
- LoggerFilterOptions
필터를 추가할 ILoggingBuilder입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter<T>(LoggerFilterOptions, String, LogLevel)
지정된 ILoggerProvider에 대한 로그 필터를 추가합니다.
public:
generic <typename T>
where T : Microsoft::Extensions::Logging::ILoggerProvider[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::LoggerFilterOptions ^ AddFilter(Microsoft::Extensions::Logging::LoggerFilterOptions ^ builder, System::String ^ category, Microsoft::Extensions::Logging::LogLevel level);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T> (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string category, Microsoft.Extensions.Logging.LogLevel level) where T : Microsoft.Extensions.Logging.ILoggerProvider;
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T> (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string? category, Microsoft.Extensions.Logging.LogLevel level) where T : Microsoft.Extensions.Logging.ILoggerProvider;
static member AddFilter : Microsoft.Extensions.Logging.LoggerFilterOptions * string * Microsoft.Extensions.Logging.LogLevel -> Microsoft.Extensions.Logging.LoggerFilterOptions (requires 'T :> Microsoft.Extensions.Logging.ILoggerProvider)
<Extension()>
Public Function AddFilter(Of T As ILoggerProvider) (builder As LoggerFilterOptions, category As String, level As LogLevel) As LoggerFilterOptions
형식 매개 변수
- T
ILoggerProvider 이 필터를 추가할 입니다.
매개 변수
- builder
- LoggerFilterOptions
필터를 추가할 ILoggingBuilder입니다.
- category
- String
필터링할 범주입니다.
- level
- LogLevel
필터링할 수준입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter<T>(ILoggingBuilder, Func<LogLevel,Boolean>)
지정된 ILoggerProvider에 대한 로그 필터를 추가합니다.
public:
generic <typename T>
where T : Microsoft::Extensions::Logging::ILoggerProvider[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddFilter(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Func<Microsoft::Extensions::Logging::LogLevel, bool> ^ levelFilter);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T> (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider;
static member AddFilter : Microsoft.Extensions.Logging.ILoggingBuilder * Func<Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.ILoggingBuilder (requires 'T :> Microsoft.Extensions.Logging.ILoggerProvider)
<Extension()>
Public Function AddFilter(Of T As ILoggerProvider) (builder As ILoggingBuilder, levelFilter As Func(Of LogLevel, Boolean)) As ILoggingBuilder
형식 매개 변수
- T
ILoggerProvider 이 필터를 추가할 입니다.
매개 변수
- builder
- ILoggingBuilder
필터를 추가할 ILoggingBuilder입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter<T>(ILoggingBuilder, Func<String,LogLevel,Boolean>)
지정된 ILoggerProvider에 대한 로그 필터를 추가합니다.
public:
generic <typename T>
where T : Microsoft::Extensions::Logging::ILoggerProvider[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddFilter(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, Func<System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ categoryLevelFilter);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T> (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Func<string,Microsoft.Extensions.Logging.LogLevel,bool> categoryLevelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider;
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T> (this Microsoft.Extensions.Logging.ILoggingBuilder builder, Func<string?,Microsoft.Extensions.Logging.LogLevel,bool> categoryLevelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider;
static member AddFilter : Microsoft.Extensions.Logging.ILoggingBuilder * Func<string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.ILoggingBuilder (requires 'T :> Microsoft.Extensions.Logging.ILoggerProvider)
<Extension()>
Public Function AddFilter(Of T As ILoggerProvider) (builder As ILoggingBuilder, categoryLevelFilter As Func(Of String, LogLevel, Boolean)) As ILoggingBuilder
형식 매개 변수
- T
ILoggerProvider 이 필터를 추가할 입니다.
매개 변수
- builder
- ILoggingBuilder
필터를 추가할 ILoggingBuilder입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter<T>(LoggerFilterOptions, Func<LogLevel,Boolean>)
지정된 ILoggerProvider에 대한 로그 필터를 추가합니다.
public:
generic <typename T>
where T : Microsoft::Extensions::Logging::ILoggerProvider[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::LoggerFilterOptions ^ AddFilter(Microsoft::Extensions::Logging::LoggerFilterOptions ^ builder, Func<Microsoft::Extensions::Logging::LogLevel, bool> ^ levelFilter);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T> (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider;
static member AddFilter : Microsoft.Extensions.Logging.LoggerFilterOptions * Func<Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.LoggerFilterOptions (requires 'T :> Microsoft.Extensions.Logging.ILoggerProvider)
<Extension()>
Public Function AddFilter(Of T As ILoggerProvider) (builder As LoggerFilterOptions, levelFilter As Func(Of LogLevel, Boolean)) As LoggerFilterOptions
형식 매개 변수
- T
ILoggerProvider 이 필터를 추가할 입니다.
매개 변수
- builder
- LoggerFilterOptions
필터를 추가할 ILoggingBuilder입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter<T>(LoggerFilterOptions, Func<String,LogLevel,Boolean>)
지정된 ILoggerProvider에 대한 로그 필터를 추가합니다.
public:
generic <typename T>
where T : Microsoft::Extensions::Logging::ILoggerProvider[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::LoggerFilterOptions ^ AddFilter(Microsoft::Extensions::Logging::LoggerFilterOptions ^ builder, Func<System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ categoryLevelFilter);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T> (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, Func<string,Microsoft.Extensions.Logging.LogLevel,bool> categoryLevelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider;
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T> (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, Func<string?,Microsoft.Extensions.Logging.LogLevel,bool> categoryLevelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider;
static member AddFilter : Microsoft.Extensions.Logging.LoggerFilterOptions * Func<string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.LoggerFilterOptions (requires 'T :> Microsoft.Extensions.Logging.ILoggerProvider)
<Extension()>
Public Function AddFilter(Of T As ILoggerProvider) (builder As LoggerFilterOptions, categoryLevelFilter As Func(Of String, LogLevel, Boolean)) As LoggerFilterOptions
형식 매개 변수
- T
ILoggerProvider 이 필터를 추가할 입니다.
매개 변수
- builder
- LoggerFilterOptions
필터를 추가할 ILoggingBuilder입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter<T>(ILoggingBuilder, String, LogLevel)
지정된 ILoggerProvider에 대한 로그 필터를 추가합니다.
public:
generic <typename T>
where T : Microsoft::Extensions::Logging::ILoggerProvider[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddFilter(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, System::String ^ category, Microsoft::Extensions::Logging::LogLevel level);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T> (this Microsoft.Extensions.Logging.ILoggingBuilder builder, string category, Microsoft.Extensions.Logging.LogLevel level) where T : Microsoft.Extensions.Logging.ILoggerProvider;
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T> (this Microsoft.Extensions.Logging.ILoggingBuilder builder, string? category, Microsoft.Extensions.Logging.LogLevel level) where T : Microsoft.Extensions.Logging.ILoggerProvider;
static member AddFilter : Microsoft.Extensions.Logging.ILoggingBuilder * string * Microsoft.Extensions.Logging.LogLevel -> Microsoft.Extensions.Logging.ILoggingBuilder (requires 'T :> Microsoft.Extensions.Logging.ILoggerProvider)
<Extension()>
Public Function AddFilter(Of T As ILoggerProvider) (builder As ILoggingBuilder, category As String, level As LogLevel) As ILoggingBuilder
형식 매개 변수
- T
ILoggerProvider 이 필터를 추가할 입니다.
매개 변수
- builder
- ILoggingBuilder
필터를 추가할 ILoggingBuilder입니다.
- category
- String
필터링할 범주입니다.
- level
- LogLevel
필터링할 수준입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter<T>(ILoggingBuilder, String, Func<LogLevel,Boolean>)
지정된 ILoggerProvider에 대한 로그 필터를 추가합니다.
public:
generic <typename T>
where T : Microsoft::Extensions::Logging::ILoggerProvider[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::ILoggingBuilder ^ AddFilter(Microsoft::Extensions::Logging::ILoggingBuilder ^ builder, System::String ^ category, Func<Microsoft::Extensions::Logging::LogLevel, bool> ^ levelFilter);
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T> (this Microsoft.Extensions.Logging.ILoggingBuilder builder, string category, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider;
public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter<T> (this Microsoft.Extensions.Logging.ILoggingBuilder builder, string? category, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider;
static member AddFilter : Microsoft.Extensions.Logging.ILoggingBuilder * string * Func<Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.ILoggingBuilder (requires 'T :> Microsoft.Extensions.Logging.ILoggerProvider)
<Extension()>
Public Function AddFilter(Of T As ILoggerProvider) (builder As ILoggingBuilder, category As String, levelFilter As Func(Of LogLevel, Boolean)) As ILoggingBuilder
형식 매개 변수
- T
ILoggerProvider 이 필터를 추가할 입니다.
매개 변수
- builder
- ILoggingBuilder
필터를 추가할 ILoggingBuilder입니다.
- category
- String
필터링할 범주입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
AddFilter<T>(LoggerFilterOptions, String, Func<LogLevel,Boolean>)
지정된 ILoggerProvider에 대한 로그 필터를 추가합니다.
public:
generic <typename T>
where T : Microsoft::Extensions::Logging::ILoggerProvider[System::Runtime::CompilerServices::Extension]
static Microsoft::Extensions::Logging::LoggerFilterOptions ^ AddFilter(Microsoft::Extensions::Logging::LoggerFilterOptions ^ builder, System::String ^ category, Func<Microsoft::Extensions::Logging::LogLevel, bool> ^ levelFilter);
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T> (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string category, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider;
public static Microsoft.Extensions.Logging.LoggerFilterOptions AddFilter<T> (this Microsoft.Extensions.Logging.LoggerFilterOptions builder, string? category, Func<Microsoft.Extensions.Logging.LogLevel,bool> levelFilter) where T : Microsoft.Extensions.Logging.ILoggerProvider;
static member AddFilter : Microsoft.Extensions.Logging.LoggerFilterOptions * string * Func<Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.LoggerFilterOptions (requires 'T :> Microsoft.Extensions.Logging.ILoggerProvider)
<Extension()>
Public Function AddFilter(Of T As ILoggerProvider) (builder As LoggerFilterOptions, category As String, levelFilter As Func(Of LogLevel, Boolean)) As LoggerFilterOptions
형식 매개 변수
- T
ILoggerProvider 이 필터를 추가할 입니다.
매개 변수
- builder
- LoggerFilterOptions
필터를 추가할 ILoggingBuilder입니다.
- category
- String
필터링할 범주입니다.
반환
추가 호출을 연결할 수 있도록 하는 ILoggingBuilder입니다.
적용 대상
.NET