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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.