[PEAR-DEV] error and log
mailling@bigfoot.com
mailling@bigfoot.com
Fri, 27 Jul 2001 17:16:55 -0500
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');
> > -----Original Message-----
> >
> > I would like to know how I can easily do PEAR:raiseError, and log this
> > error to a file for example, and don't see it in the screen.
> > If this feature doesn't still exist, I think it could be important to add
> > it, for example with a PEAR_ERROR_LOG ?
> >
> > What do you think?
> >
> >
> > --
> > PEAR Development Mailing List (http://pear.php.net/)
> > To unsubscribe, e-mail: pear-dev-unsubscribe@lists.php.net
> > For additional commands, e-mail: pear-dev-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >