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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.