DebugSystem target - NLog/NLog GitHub Wiki
Sends log messages through System.Diagnostics.Debug.WriteLine
Platforms Supported: All (Introduced with NLog 5.0)
<targets>
<target xsi:type="DebugSystem" name="String" layout="Layout" />
</targets>
- name - Name of the target.
- 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
Alternative targets for diagnostic output:
-
Trace-target for output to
System.Diagnostics.Trace
-
Debugger-target for output to
System.Diagnostics.Debugger.Log
-
OutputDebugString-target for output to
OutputDebugString
Win32 API