Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns=""
for information on customizing logging rules and outputs.
<!-- add your targets here -->
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
layout="${longdate}|${level:uppercase=true}|${logger}|${message}" />
<!-- add your logging rules here -->
<logger name="*" minlevel="Trace" writeTo="f" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment