22 lines
924 B
XML
22 lines
924 B
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<!-- XSD manual extracted from package NLog.Schema: https://www.nuget.org/packages/NLog.Schema-->
|
|
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
autoReload="true"
|
|
internalLogFile="${basedir}/logs/internal-nlog.txt"
|
|
internalLogLevel="Info" >
|
|
|
|
<!-- the targets to write to -->
|
|
<targets>
|
|
<!-- write logs to file -->
|
|
<target xsi:type="File" name="logfile" fileName="${basedir}/logs/nlog-${shortdate}.log"
|
|
layout="${longdate}|${level}|${message} ${exception:format=tostring}" />
|
|
<target xsi:type="Console" name="logconsole"
|
|
layout="${longdate}|${level}|${message} ${exception:format=tostring}" />
|
|
</targets>
|
|
|
|
<!-- rules to map from logger name to target -->
|
|
<rules>
|
|
<logger name="*" minlevel="Info" writeTo="logfile,logconsole" />
|
|
</rules>
|
|
</nlog> |