Click or drag to resize
Filter Class
An abstract filter class. Provides a way to eliminate log messages based on properties other than logger name and log level.
Inheritance Hierarchy

Namespace: NLog.Filters
Assembly: NLog (in NLog.dll) Version: 4.3.0
Syntax
public abstract class Filter

The Filter type exposes the following members.

Constructors
  NameDescription
Protected methodFilter
Initializes a new instance of the Filter class.
Top
Properties
  NameDescription
Public propertyAction
Gets or sets the action to be taken when filter matches.
Top
Methods
  NameDescription
Protected methodCheck
Checks whether log event should be logged or not.
Top
See Also