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

NLog.Targets.TargetAttribute

public sealed class TargetAttribute : NameBaseAttribute
Marks class as logging target and attaches a type-alias name for use in NLog configuration.
public bool IsCompound { get; set; }

Gets or sets a value indicating whether to the target is a compound target (used to generate the target summary documentation page).

public bool IsWrapper { get; set; }

Gets or sets a value indicating whether to the target is a wrapper target (used to generate the target summary documentation page).

public TargetAttribute(string name)

Initializes a new instance of the TargetAttribute class.