I've only ever encountered one error logging framework before: log4net. I started using it at work when the team wanted to convert the their old error logging framework over. To be fair, log4net was a bit too complex for my liking.
I only started to take error logging a little more seriously when I started learning Android development. I started doing databases a few weeks into Mobile Applications Development - we weren't scheduled to learn it until week 5. It only when I hit a snag in incorporating a database into the class exercise for that week, that I finally began to see the value in using error logging.
Most people do not appreciate the power of the stack trace.
ReplyDeleteWhenever my program crashes, I always try to look for lines (in the stack trace) that point to my code. Most of the time, the offending line/s are (is) easy to pick out from the stack trace.
ReplyDelete