<!-- optional, add some variables https://github.com/nlog/NLog/wiki/Configuration-file#variables --> <variablename="myvar"value="myvalue"/>
<!-- See https://github.com/nlog/nlog/wiki/Configuration-file for information on customizing logging rules and outputs. --> <targets> <targetxsi:type="File"name="f"fileName="${basedir}/logs/${shortdate}.log" layout="${longdate} ${uppercase:${level}} ${message}" /> </targets>
<rules> <!-- add your logging rules here --> <loggername="*"minlevel="Info"writeTo="f" /> </rules> </nlog>