-
Notifications
You must be signed in to change notification settings - Fork 1.4k
RepeatingWrapper target
Rolf Kristensen edited this page Nov 23, 2021
·
8 revisions
Repeats each log event the specified number of times.
Platforms Supported: All
<targets>
<target xsi:type="RepeatingWrapper" name="String" repeatCount="Integer">
<target xsi:type="wrappedTargetType" ...target properties... />
</target>
</targets>
- name - Name of the target.
- repeatCount - Number of times to repeat each log message. Integer Default: 3
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json