--
This group is managed by the web application development team at www.360psg.com
---
You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to professional-p...@googlegroups.com.
Visit this group at https://groups.google.com/group/professional-php.
To view this discussion on the web visit https://groups.google.com/d/msgid/professional-php/81574325-cc2d-4390-a130-1612c9391dfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What I've been using is a class that is a custom error handler, which kills itself and falls back if it has an error itself. I set it with set_error_handler(). What it does is log the error data to a log file (could be a database) and put it behind my built-in permissions system so only privileged users will get a notification icon when an error is recorded. I md5 the error, use that to create an ID and subsequent errors tick a counter instead of logging repeat messages.
This is still fairly new, but I have found it really useful. I did the same with exceptions a while back, but recently built-in the complete error handling.
To view this discussion on the web visit https://groups.google.com/d/msgid/professional-php/CAERp-YOUqYA0onmBX5iEOjNVSVOn4wThD%2BTEcPGnCyUOc21HYw%40mail.gmail.com.