I’m looking into how to implement logging in my C# app – its a DLL class library. What logging frameworks are most widely used – what would give users of my DLL the most flexibility and configurability? Is there a C# equivalent of log4j?
Share
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.
2009 Answer: Equivalent of log4j for .NET platform is log4net and I am guessing it’s widely used.
2019 Answer: Here are a variety of alternatives from https://github.com/quozd/awesome-dotnet/blob/master/README.md#logging: