I am already using Log4net to log errors to a file, however because of the way it works with try/catch blocks I am loosing the original context of the error.
Is 开发者_StackOverflowthere a good opensource error logging platform for .net that you can add to your solutions to make it much easier to detect where errors are occuring in your code?
Thanks in advance...
are you re-throwing like this?:
throw ex;
or like this?:
throw;
(the former loses the stack trace)
StackOverflows uses ELMAH, and I have also used this library with great success.
精彩评论