共用方式為


EventLogSettings.Filter Property

Definition

Gets or sets the function used to filter events based on the log level.

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)

Property Value

Applies to