This may be more of an OOP concept question, but here's what I'd like to do.
I have an application that outputs debug information using System.Diagnostics.Trace.WriteLine so it can be viewed with DebugView.
I'd like to override/extend (not sure of the proper terminology) this method to log the text to a file instead, or maybe in addition to the Trace output. This would allow me to write a new WriteLine method for my app, and I could leave all my other System.Diagnostics.Trace.WriteLine statements unchanged throughout the rest of the application.
So how would I go about changing the behavior of this method within my VB.Net app?