-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNLog.config
22 lines (18 loc) · 885 Bytes
/
NLog.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
autoReload="true"
throwExceptions="false"
internalLogLevel="Off" internalLogFile="nlog-internal.log">
<targets async="true">
<target name="log" xsi:type="File" fileName="${basedir}/${level}_${shortdate}.log" layout="${longdate}|${message}"/>
</targets>
<rules>
<logger name="*" minlevel="Info" writeTo="log" final="true"/>
<logger name="*" minlevel="Debug" writeTo="log" final="true"/>
<logger name="*" minlevel="Warn" writeTo="log" final="true"/>
<logger name="*" minlevel="Error" writeTo="log" final="true"/>
<logger name="*" minlevel="Fatal" writeTo="log" final="true"/>
</rules>
</nlog>