Click or drag to resize

LayoutBasedFilter Class

A base class for filters that are based on comparing a value to a layout.
Inheritance Hierarchy

Namespace:  NLog.Filters
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public abstract class LayoutBasedFilter : Filter

The LayoutBasedFilter type exposes the following members.

Constructors
  NameDescription
Protected methodLayoutBasedFilter
Initializes a new instance of the LayoutBasedFilter class.
Top
Properties
  NameDescription
Public propertyAction
Gets or sets the action to be taken when filter matches.
(Inherited from Filter.)
Public propertyLayout
Gets or sets the layout to be used to filter log messages.
Top
Methods
  NameDescription
Protected methodCheck
Checks whether log event should be logged or not.
(Inherited from Filter.)
Top
See Also