Looking for an automated logging tool/library for .NET!

Posted by tsocks on Stack Overflow See other posts from Stack Overflow or by tsocks
Published on 2010-04-02T00:45:38Z Indexed on 2010/04/02 0:53 UTC
Read the original article Hit count: 415

Filed under:
|
|
|

Hello,

I'm looking for an library/tool for .NET that logs almost everything that happens in my C# application (Windows Form).

The problem is that I'm delivering an application to a client (Windows XP) and after doing some task, that classic Microsoft error window appears:

"ApplicationName has encountered a problem and needs to close. We are sorry for the inconvenience"

I'm currently handling my application exceptions, but this is something external and I can't get anything from that error, so I would like any automated library that helps me with that.

It would work if it logs each line of code executed, orr just log what line was executing before that error appeared, or something that could give me more info about that error.

Thank you!

P.S: It's a multithreaded application, and have to Timer controls (one for watching a folder every 5secs, and another for watching thread list...). I'm using Windows 7 here and everything seems to work ok.

© Stack Overflow or respective owner

Related posts about error-handling

Related posts about logging