|PHP Developers Network
|Error handling in application
|Page 1 of 1|
|Author:||cali_dotcom [ Tue Jul 10, 2012 6:31 pm ]|
|Post subject:||Error handling in application|
hi guys, i am currently building a nice website and i was just wondering about the best way to handle errors, database and webservices errors.
i was thinking on implementing a mixture of file and db logging. so basically i would log to db all the time and then i would log to filewhen there is a db error. i am also thinking of the best way to handle this.
the site is built in Zend Framework, so i am considering using the zend error handling and logging functionality, but i worried it might be too much overhead.
do you guys have any suggestions as to the best way to go about this? zend, pear or any other?
|Author:||Christopher [ Tue Jul 10, 2012 8:57 pm ]|
|Post subject:||Re: Error handling in application|
You might want to think about the standard PHP error logging. It is obviously very efficient. Take a look at trigger_error().
|Page 1 of 1||All times are UTC - 5 hours|
|Powered by phpBB® Forum Software © phpBB Group