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

NLog.Targets.Wrappers.FallbackGroupTarget

Provides fallback-on-error.
public bool EnableBatchWrite { get; set; }

Gets or sets whether to enable batching, but fallback will be handled individually

public bool ReturnToFirstOnSuccess { get; set; }

Gets or sets a value indicating whether to return to the first target after any successful write.

Initializes a new instance of the FallbackGroupTarget class.

public FallbackGroupTarget(string name, Target[] targets)

Initializes a new instance of the FallbackGroupTarget class.

public FallbackGroupTarget(Target[] targets)

Initializes a new instance of the FallbackGroupTarget class.