Freigeben über


EventLogSettings.Filter Eigenschaft

Definition

Die Funktion, die verwendet wird, um Ereignisse basierend auf dem Protokolliergrad zu filtern.

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; }
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)

Eigenschaftswert

Gilt für: