Microsoft.NET Question:
How to redirect tracing to a file?

Answer:
TextWriterListener will redirect the tracing output to an instance of the TextWriter or to any object of stream class such as log file, network stram or Console.
Previous Question | Next Question |
How to spawn a thread? | Is there built-in support for tracing/logging? |