-
Notifications
You must be signed in to change notification settings - Fork 0
FilteringWrapper target
Narayana R edited this page Aug 19, 2016
·
3 revisions
Filters log entries based on a condition.
Supported in .NET, Silverlight, Compact Framework and Mono. ##Configuration Syntax
<targets>
<target xsi:type="FilteringWrapper" name="String" condition="Condition">
<target xsi:type="wrappedTargetType" ...target properties... />
</target>
</targets>
##Parameters ###General Options name - Name of the target. ###Filtering Options condition - Condition expression. Log events who meet this condition will be forwarded to the wrapped target. Condition Required.
- Search in documentation
- Getting started
- Examples
- External articles and tutorials
- FAQ
- Platform support
- Advanced Configuration file options
- Filtering log messages
- [Using Time Sources](Time Source)
- Visual Studio support
- Who is using NLog
- [Write custom extensions](Extending NLog)