Is there a logging facade for the .NET world?

Posted by Elijah on Stack Overflow See other posts from Stack Overflow or by Elijah
Published on 2010-04-28T22:23:18Z Indexed on 2010/04/28 22:27 UTC
Read the original article Hit count: 400

Filed under:
|
|

I'm somewhat new to the .NET stack and I was wondering if there is an equivalent to slf4j for the .NET platform. For me, logging to a Facade and being able to swap out logging implementations as needed just makes sense. Furthermore, the wrapper APIs available in slf4j have saved me many times when I needed to use a third-party library that was coded against a single logging framework that I wasn't using.

Is there a project out there that acts as a facade between loggers like log4net, nLog and Enterprise Library? Are there wrappers that allow me to shortcut calls to those libraries and direct them to another library? Should I start out an open source project to do this myself? Is this question a duplicate because I don't know the right way to ask? Conversely, is the common way to do this using aspect orient programming?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about logging