Skip to content
Rolf Kristensen edited this page Sep 3, 2023 · 4 revisions

Sends log messages through System.Diagnostics.Debug.WriteLine

Platforms Supported: All (Introduced with NLog 5.0)

Configuration Syntax

<targets>
  <target xsi:type="DebugSystem" name="String" layout="Layout" />
</targets>

Parameters

General Options

  • name - Name of the target.

Output Options

  • layout - Layout used to format log messages. Layout Required
  • header - Layout used to format header-output when initializing. Layout
  • footer - Layout used to format footer-output when closing. Layout

Notes

Alternative targets for diagnostic output:

Clone this wiki locally