Microsoft.Extensions.Logging.LoggerFilterRule
Defines a rule used to filter log messages
Gets the logger category this rule applies to.
Gets the filter delegate that would be applied to messages that passed the LogLevel.
Gets the minimum LogLevel of messages.
Gets the logger provider type or alias this rule applies to.
public LoggerFilterRule(string providerName, string categoryName, LogLevel? logLevel, Func<string, string, LogLevel, bool> filter)
Creates a new LoggerFilterRule instance.