whenNotEqual Filter


Matches when the calculated layout is NOT equal to the specified substring. This filter is deprecated in favour of <when /> which is based on contitions

AssemblyClass.NET Framework.NET CFMono on WindowsMono on Unix
1.01.12.01.02.01.02.01.02.0
NLog.dllNLog.Filters.WhenNotEqualFilter

Parameters:

NameTypeDescription
ActionFilterResult User-requested action to be taken when filter matches.
CompareTostring String to compare the layout to.
Layoutstring The layout text;
IgnoreCaseboolean Ignore case when comparing strings.

Default value is: False.


Back to the filter list.