Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EventLogSettings.Filter Property

Definition

Namespace:
Microsoft.Extensions.Logging.EventLog
Assembly:
Microsoft.Extensions.Logging.EventLog.dll
Package:
Microsoft.Extensions.Logging.EventLog v11.0.0-preview.5.26302.115
Source:
EventLogSettings.cs
Source:
EventLogSettings.cs
Source:
EventLogSettings.cs
Source:
EventLogSettings.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?