-
Notifications
You must be signed in to change notification settings - Fork 2
/
NLogConfiguration.xml
41 lines (37 loc) · 1.66 KB
/
NLogConfiguration.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?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">
<rules>
<logger
name="WEBRTC"
minlevel="Debug"
writeTo="RAINBOW_WEBRTC_LOGGER"
final="true" />
<logger
name="*"
minlevel="Trace"
writeTo="RAINBOW_DEFAULT_LOGGER"
/>
</rules>
<targets>
<target
xsi:type="File"
encoding="utf-8"
name="RAINBOW_WEBRTC_LOGGER"
fileName=".\RainbowSdk_WebRTC.log"
archiveFileName=".\RainbowSdk_{###}_WebRTC.log"
archiveAboveSize="5242880"
maxArchiveFiles="10"
layout="${longdate} | ${level:uppercase=true:padding=-5} | ${threadid:padding=-3} | ${callsite:className=True:fileName=False:includeSourcePath=False:methodName=True:padding=70:fixedLength=True:alignmentOnTruncation=Right}: ${callsite-linenumber:padding=-4} | ${message}"
/>
<target
xsi:type="File"
encoding="utf-8"
name="RAINBOW_DEFAULT_LOGGER"
fileName=".\RainbowSdk.log"
archiveFileName=".\RainbowSdk_{###}.log"
archiveAboveSize="5242880"
maxArchiveFiles="10"
layout="${longdate} | ${level:uppercase=true:padding=-5} | ${threadid:padding=-3} | ${callsite:className=True:fileName=False:includeSourcePath=False:methodName=True:padding=70:fixedLength=True:alignmentOnTruncation=Right}: ${callsite-linenumber:padding=-4} | ${message}"
/>
</targets>
</nlog>