Microsoft.NET Question:

How to redirect tracing to a file?

Tweet Share WhatsApp

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.

Download Microsoft.NET PDF Read All 31 Microsoft.NET Questions
Previous QuestionNext Question
How to spawn a thread?Is there built-in support for tracing/logging?