共用方式為


LoggerFilterRule.Filter 屬性

定義

取得將套用至傳遞 LogLevel 訊息的篩選委派。

public:
 property Func<System::String ^, System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ Filter { Func<System::String ^, System::String ^, Microsoft::Extensions::Logging::LogLevel, bool> ^ get(); };
public Func<string,string,Microsoft.Extensions.Logging.LogLevel,bool> Filter { get; }
public Func<string?,string?,Microsoft.Extensions.Logging.LogLevel,bool>? Filter { get; }
member this.Filter : Func<string, string, Microsoft.Extensions.Logging.LogLevel, bool>
Public ReadOnly Property Filter As Func(Of String, String, LogLevel, Boolean)

屬性值

適用於