Tag Archives: listener

Use Debug and Trace listeners in C#

By default, the Debug and Trace classes send messages to the Console window. Sometimes it might be nice to capture that text and save it in a file. This example shows how you can do that. The Debug and Trace … Continue reading

Posted in debugging | Tagged , , , , , , , , , , , | Leave a comment