-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNLog.config
More file actions
27 lines (24 loc) · 765 Bytes
/
Copy pathNLog.config
File metadata and controls
27 lines (24 loc) · 765 Bytes
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
<?xml version="1.0" encoding="utf-8"?>
<?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">
<extensions>
<add assembly="NLog.Extensions" />
<add assembly="NLog.Web.AspNetCore"/>
<add assembly="Exceptionless.NLog"/>
</extensions>
<targets async="true">
<target xsi:type="Exceptionless"
name="exceptionless"
apiKey="eNeYThHlBGCMFgoZXWbUIaMNW6uByd2Pz33bw4R1"
serverUrl="http://exception-t.evertrust.com.tw">
</target>
</targets>
<rules>
<logger name="*" minlevel="trace" writeTo="exceptionless">
<filters>
<when condition="starts-with(logger, 'Microsoft')" action="Ignore" />
</filters>
</logger>
</rules>
</nlog>