Log4Net is a cool, stable, fully featured, highly configurable, highly customizable and open source logging framework for .Net. One of its powerful features is the ability to write logs to multiple targets, by using the notation of Appenders.
This is how I've implemented a Failover mechanism in Log4net.
As part of my new year resolutions, I've decided to put more effort in learning code generation techniques. This is the first blog post in a series exploring code generation.