LoggerFilterRule.Filter 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得將套用至傳遞 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)