[dev] RE: [PEAR-DEV] error and log
Chuck Hagenbuch
chuck@horde.org
Sun, 29 Jul 2001 15:06:48 -0400
Quoting mailling@bigfoot.com:
> I would like to know your opinion of inserting this following line into
> base.php?
>
> At 16:03 7/26/2001 +0300, you wrote:
> function mypearlog ($obj) {
> //see error_log php function
> error_log ($obj->getMessage(), ...);
> }
> PEAR::setErrorHanlding(PEAR_ERROR_CALLBACK, 'mypearlog');
Something like this, definitely. That exact code, no.
I've been doing a lot of thinking about error handling stuff, and will
hopefully try something in the cvs versions soon.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.