LoggerFilterRule Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new LoggerFilterRule instance.
public:
LoggerFilterRule(System::String ^ providerName, System::String ^ categoryName, Nullable<Microsoft::Extensions::Logging::LogLevel> logLevel, Func<System::String ^, System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ filter);
public LoggerFilterRule (string? providerName, string? categoryName, Microsoft.Extensions.Logging.LogLevel? logLevel, Func<string?,string?,Microsoft.Extensions.Logging.LogLevel,bool>? filter);
new Microsoft.Extensions.Logging.LoggerFilterRule : string * string * Nullable<Microsoft.Extensions.Logging.LogLevel> * Func<string, string, Microsoft.Extensions.Logging.LogLevel, bool> -> Microsoft.Extensions.Logging.LoggerFilterRule
Public Sub New (providerName As String, categoryName As String, logLevel As Nullable(Of LogLevel), filter As Func(Of String, String, LogLevel, Boolean))
Parameters
- providerName
- String
The provider name to use in this filter rule.
- categoryName
- String
The category name to use in this filter rule.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.