Last updated: 2006-09-18

This website is based on NLog v1.0. Click here to view the documentation for other versions.

whenEqual Filter


Matches when the calculated layout is 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.WhenEqualFilter

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.
Webwww.nlog-project.org