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: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
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