The life and times of this developer...

WPF, C#, XML and other stuff

  Home  |   Contact  |   Syndication    |   Login
  24 Posts | 0 Stories | 28 Comments | 0 Trackbacks

News

Twitter


Tag Cloud


Archives

Post Categories

Cool Tools

January 2012 Entries

Hi, it's really handy to be able to add Trace to your .Net application using the System.Diagnostics.Trace class.The only problem is how the heck do you get it to Trace out at runtime?The simple solution is to add this to your app config file... <system.diagnostics> <trace autoflush="true"> <listeners> <clear/> <add name="textwriterListener" type="System.Diagnostics.Te... initializeData="c:\temp\out... traceOutputOptions="ProcessId, DateTime"/> ......