<PackageReference Include="NLog" Version="6.2.0" />

NLog.Targets.Wrappers.RepeatingTargetWrapper

Repeats each log event the specified number of times.
public int RepeatCount { get; set; }

Gets or sets the number of times to repeat each log message.

Initializes a new instance of the RepeatingTargetWrapper class.

public RepeatingTargetWrapper(string name, Target wrappedTarget, int repeatCount)

Initializes a new instance of the RepeatingTargetWrapper class.

public RepeatingTargetWrapper(Target wrappedTarget, int repeatCount)

Initializes a new instance of the RepeatingTargetWrapper class.