How to redirect the standard console output, to assert logmessages written by log4net.
By using a log4net ConsoleAppender, you can write all log messages in your application to the console. These message will show up in the Microsoft Visual Studio output window. I needed a way to redirect