共用方式為


ElmOptions.Filter 屬性

定義

根據記錄器的名稱和 LogLevel 訊息的 ,判斷是否應該記錄記錄記錄語句。

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

屬性值

適用於