Skip to content

FilteringWrapper target

Xharze edited this page Sep 22, 2012 · 1 revision

Filters log entries based on a condition.

Supported in .NET, Silverligt, 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.

Clone this wiki locally