Thread: Error handling
View Single Post
Old 01-17-2009, 10:27 PM   #1 (permalink)
Ross
The Contributor
 
Ross's Avatar
 
Join Date: Jan 2008
Location: England, UK
Posts: 83
Thanks: 3
Ross is on a distinguished road
Default Error handling

Something that quickly needs to be setup is some sort of error handling and logging.

Obviously Exceptions are a great choice for this. What I was thinking was to create an Error exception that would automatically log the error based on an ini configuration value.

Logging errors to a simple text file is usually good enough, and we can add additional items later (e.g. syslog).

Any thoughts?
__________________
Ross » Blog » Twitter
Ross is offline  
Reply With Quote