a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
36 lines
1.1 KiB
XML
36 lines
1.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<system.diagnostics>
|
|
<sources>
|
|
<source name="source1" switchName="switch" switchType="System.Diagnostics.SourceSwitch">
|
|
<!--
|
|
<listeners>
|
|
<add name="console" type="System.Diagnostics.ConsoleTraceListener"/>
|
|
</listeners>
|
|
-->
|
|
</source>
|
|
</sources>
|
|
<switches>
|
|
<!-- Boolean switches: any non-zero value is true -->
|
|
<add name="bool-true" value="1"/>
|
|
<add name="bool-true-2" value="4"/>
|
|
<add name="bool-true-3" value="-2"/>
|
|
<add name="bool-false" value="0"/>
|
|
|
|
<!-- trace switches: -->
|
|
<add name="trace-off" value="0"/>
|
|
<add name="trace-error" value="1"/>
|
|
<add name="trace-warning" value="2"/>
|
|
<add name="trace-info" value="3"/>
|
|
<add name="trace-verbose" value="4"/>
|
|
|
|
<!-- custom switches: -->
|
|
<add name="custom-switch" value="42"/>
|
|
|
|
<!-- this causes problems on .NET -->
|
|
<add name="trace-negative" value="-1"/>
|
|
</switches>
|
|
</system.diagnostics>
|
|
</configuration>
|
|
|