forked from zebrunner/csharp-agent-nunit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.config
20 lines (18 loc) · 906 Bytes
/
App.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/>
</configSections>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<targets>
<target name="console" xsi:type="Console"/>
<target name="zebrunner" xsi:type="Zebrunner" layout="${logger} ${level}: ${message}"/>
<target name="file" xsi:type="File" layout="${date} ${logger} ${level}: ${message}" fileName="${var:test_log_dir}\test.log"/>
</targets>
<rules>
<logger name="*" minlevel="Info" writeTo="console"/>
<logger name="*" minlevel="Debug" writeTo="zebrunner"/>
<logger name="*" minlevel="Trace" writeTo="file"/>
</rules>
</nlog>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>