logging

Error Logging with log4net

March 21, 2014
.NET, C#, error handling, logging

When handling errors you want to do one of the following: Crash the program. Ignore the error. Try to fix the error and continue. The correct approach depends on a number of factors. What is your application? Do you have enough information available to try and recover or infer what the user wanted to do? Is the error going to impact other operations later on? No matter which approach you choose for handling the error, you ought to use logging! ...