Example code for an old post I wrote at http://triagile.blogspot.com/2010/12/log4net-appender-for-displaying.html