Created
June 27, 2012 17:17
-
-
Save jivkokgist/3005485 to your computer and use it in GitHub Desktop.
App.config: trace listeners - console and text file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<configuration> | |
<system.diagnostics> | |
<trace autoflush="true"> | |
<listeners> | |
<add name="logListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="trace.log" /> | |
<add name="consoleListener" type="System.Diagnostics.ConsoleTraceListener"/> | |
</listeners> | |
</trace> | |
</system.diagnostics> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment