Ads by Lake Quincy Media

Wiki Navigation

 
Gibraltar - Learn about the best analysis tool for NLog

RetryingWrapper 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.

Retries in case of write error. 

Supported in

Configuration Syntax

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

Parameters

  • General Options
  • name - Name of the target.
  • Retrying Options
  • retryDelayMilliseconds - Time to wait between retries in milliseconds.Integer Default: 100
  • retryCount - Number of retries that should be attempted on the wrapped target in case of a failure.Integer Default: 3
Ads by Lake Quincy Media