Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

If Using Enterprise Library, Is log4net better to log with?

For a project we are using Enterprise Library 5, and will be using several of the blocks. I'm inclined to use the Logging application block since its built into this framework. But I do see a lot of recommendations for log4net, so what have people chosen to do and if choosing log4net, why did you choose it over some of the others?

Thanks.

like image 938
Brian Mains Avatar asked Sep 22 '10 19:09

Brian Mains


1 Answers

Take a look at this question on SO: log4net vs. Nlog

The top voted answer looks especially pertinent, comparing EntLib, log4net, and NLog.

For what it's worth, I was evaluating log4net and NLog and chose to go with NLog; I just wanted something that would be easy to set up and would "just work", and so far NLog has been that.

like image 59
Jeff Ogata Avatar answered Sep 20 '22 03:09

Jeff Ogata