I need a logging framework in my application. I have two candidates: Log4Net and Logging from Application Block. Which is better? any specific advantage to any of them?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
My opinion … Log4Net works, performs well and is stable (perhaps too stable given frequency of releases if you know what I mean).
If you need logging it is highly unlikely that you don’t need other functionality exposed by Enterprise Library, you’d be on the Microsoft road map, benefit from regular updates, have tool support (e.g. configuration tool) and there is always the much maligned documentation which is far superior than you will get with Open Source.
I think my preference is clear! Enterprise Library all the way.