[Lavanya Deepak] Lavanya Deepak
Technology for Better Business and Higher Standards of Life

Friday, September 26, 2008

Let your code record its activities ...

Let your code record its activities ...

  1. Writing a diary is a good practice
  2. Blogging is a great hobby

These serve to enhance your memory and recall about incidents and events at a later point of time. Let us extend this habit to your code too. Your program should normally get cultivated with a practice of recording (logging) its activities lucidly without swamping the resources.

That way, we get to reap a lot of benefits. A few are:

  1. Troubleshooting problems with the application
  2. Statistics about the application

There are excellent log frameworks available for any one to get started with minimum effort. A few are:

  1. Log4Net
  2. Enterprise Library Logging Application Block from Microsoft

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home