Error Logging

The Microsoft Enterprise Library has a really good Logging Application Block that allows you to make your logging infrastructure configurable.
This framework makes logging as easy as typing:
Logger.Write(”System rolled over!”);
the framework is configurable from your config file.
The Microsoft Enterprise Library out of the box provides the following destinations for logging messages:

Email
Custom Locations
Message Queues
WMI Events
Database
Text Files
File

I took [...]