Sunday 15 August 2010

Log Handled Exceptions in ASP.NET with ELMAH -


I am using ELMAH for an ASP.NET web application and it works fine < P> But I need to log exceptions to log on, but not manually, I do not write any code in the try / capture block to log exception with ELMAH Wish

Is there a way

ELMAH

Thanks a lot

the best of which In case, in each catch block, restore such an exception

  try {......... ....} hold (exception before ) {............ throw; }   

Exception from the Elmah Cache Block will handle the exceptions raised as an exception and will log in automatically.

No comments:

Post a Comment