We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Outputs log messages through the OutputDebugString Win32 API. That can be monitored using DebugView or Harvester
Platforms Supported: Limited - Requires Windows and requires nuget-package NLog.OutputDebugString since NLog 5.0
<targets> <target xsi:type="OutputDebugString" name="String" layout="Layout" /> </targets>
Read more about using the Configuration File.
${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
Introduced with NLog 5.0
Alternative targets for diagnostic output:
System.Diagnostics.Trace
System.Diagnostics.Debug
System.Diagnostics.Debugger.Log