It's easy to create a custom logging framework to log your .Net application's errors and events to a flat file, a database, or the event log You will often want to log events or errors as they occur ...