.NET: no trace TextWriter…

I wanted to create a logger that writes either to a file, or to the System.Diagnostics.Trace. To my astonishment, I found that .NET class library does not have a TextWriter implementation that writes to the System.Diagnostics.Trace. Fortunately, it is relatively easy to create.

Leave a Reply

Your email address will not be published. Required fields are marked *