MessageBox target - NLog/NLog GitHub Wiki
Pops up log messages as message boxes.
Platforms Supported: All - Requires nuget-package NLog.Windows.Forms
<targets>
<target xsi:type="MessageBox" name="String" layout="Layout" caption="Layout" />
</targets>
Read more about using the Configuration File.
- name - Name of the target.
-
layout - Layout used to format log messages. Layout Required. Default:
${longdate}|${level:uppercase=true}|${logger}|${message:withexception=true}
- caption - Message box title. Layout