I have idea to write errors from my application to the Windows Event Viewer using log4net. Can I do it or not? And if I can, how :).
Thank you.
I have idea to write errors from my application to the Windows Event Viewer
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.
log4net supports a EventLogAppender so, yes, you can do it. How? You can start by checking the log4net configuration examples for that appender.
If you encounter any specific problem you can update your question with more details so people can help you better.