Created
July 3, 2015 07:06
-
-
Save TianyuanC/b5302b0dd26a6264f562 to your computer and use it in GitHub Desktop.
logging through config files
This file contains 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
<system.diagnostics> | |
<trace autoflush="true" indentsize="4"> | |
<listeners> | |
<add name="fileLog" type="System.Diagnostics.TextWriterTraceListener" initializeData="application.log" /> | |
<add name="consoleLog" type="System.Diagnostics.ConsoleTraceListener" /> | |
<add name="eventLog" type="System.Diagnostics.EventLogTraceListener" initializeData="TraceLog" /> | |
</listeners> | |
</trace> | |
</system.diagnostics> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment