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

NLog.Targets.DebuggerTarget

Writes log messages to the attached managed debugger.
public Layout Category { get; set; }

The category of the message.

public int MaxMessageSize { get; set; }

Gets or sets the maximum message size in number of characters. On limit breach then OnOverflow action is activated.

Gets or sets the action that should be taken if the message is larger than MaxMessageSize

public DebuggerTarget()

Initializes a new instance of the DebuggerTarget class.

public DebuggerTarget(string name)

Initializes a new instance of the DebuggerTarget class.