If you are looking to fully integrate a script similar to the above, there is a really good post regarding the set_error_handler() function on Tinsology ( PHP Error Handling ). error handling, PHP, php class …
Originally posted here:
Handling Errors In PHP | Full On Design