.NET logging framework [closed]

In java world you have log4j and a a pretty decent logging framework, is there anything like that for C#/.NET?


Solution 1:

log4net would be the obvious answer.

Solution 2:

http://www.nlog-project.org/ - NLog

It's a very flexible and configurable logging tool that's very light-weight. You can set it up to log to many different locations (Console, SQL, File... etc). Very easy to use.

It's even used by Rob Connery in his Storefront MVC project... http://blog.wekeroad.com/mvc-storefront/