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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
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