Click or drag to resize

NLog.Filters Namespace

Message filters
Classes
  ClassDescription
Public classConditionBasedFilter
Matches when the specified condition is met.
Public classFilter
An abstract filter class. Provides a way to eliminate log messages based on properties other than logger name and log level.
Public classFilterAttribute
Marks class as a layout renderer and assigns a name to it.
Public classLayoutBasedFilter
A base class for filters that are based on comparing a value to a layout.
Public classWhenContainsFilter
Matches when the calculated layout contains the specified substring. This filter is deprecated in favor of <when /> which is based on conditions.
Public classWhenEqualFilter
Matches when the calculated layout is equal to the specified substring. This filter is deprecated in favor of <when /> which is based on conditions.
Public classWhenMethodFilter
Matches the provided filter-method
Public classWhenNotContainsFilter
Matches when the calculated layout does NOT contain the specified substring. This filter is deprecated in favor of <when /> which is based on conditions.
Public classWhenNotEqualFilter
Matches when the calculated layout is NOT equal to the specified substring. This filter is deprecated in favor of <when /> which is based on conditions.
Public classWhenRepeatedFilter
Matches when the result of the calculated layout has been repeated a moment ago
Enumerations
  EnumerationDescription
Public enumerationFilterResult
Filter result.