Ads by Lake Quincy Media

Wiki Navigation

 
Gibraltar - Learn about the best analysis tool for NLog

RepeatingWrapper target

NLog documentation is a Wiki, which allows registered users to edit its content.
If you want to contribute, please create a user account and contact Jarek to get edit access.

Repeats each log event the specified number of times. 

Supported in

Configuration Syntax

<targets>
  <target xsi:type="RepeatingWrapper" name="String" repeatCount="Integer">
    <target xsi:type="wrappedTargetType" ...target properties... />
  </target>
</targets>
Read more about using the Configuration File.

Parameters

  • General Options
  • name - Name of the target.
  • Repeating Options
  • repeatCount - Number of times to repeat each log message.Integer Default: 3