forked from hanabi1224/Programming-Language-Benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnlog.config
25 lines (23 loc) · 1.32 KB
/
nlog.config
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
<?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" xsi:schemaLocation="NLog NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
autoReload="true"
internalLogToConsole="false"
internalLogIncludeTimestamp="true"
internalLogFile="nlog.internal.log"
internalLogLevel="Info">
<targets async="false">
<target name="console" xsi:type="ColoredConsole" encoding="utf-8" useDefaultRowHighlightingRules="true" enableAnsiOutput="true"
layout="${date} | ${message} ${exception}">
<highlight-row backgroundColor="NoChange" foregroundColor="Cyan" condition="level == LogLevel.Trace" />
<highlight-row backgroundColor="NoChange" foregroundColor="White" condition="level == LogLevel.Debug" />
<highlight-row backgroundColor="NoChange" foregroundColor="Green" condition="level == LogLevel.Info" />
<highlight-row backgroundColor="NoChange" foregroundColor="Yellow" condition="level == LogLevel.Warn" />
<highlight-row backgroundColor="NoChange" foregroundColor="Red" condition="level == LogLevel.Error" />
</target>
</targets>
<rules>
<logger name="*" minlevel="Trace" writeTo="console" />
</rules>
</nlog>