PEAR_ErrorStack::setErrorMessageTemplate PEAR_ErrorStack::setMessageCallback

PEAR_ErrorStack

PEAR Manual


PEAR_ErrorStack::setLogger

PEAR_ErrorStack::setLogger() -- Set up a PEAR::Log object for this error stack

Synopsis

    require_once 'PEAR/ErrorStack.php';
   

void PEAR_ErrorStack::setLogger ( Log &$log )

Description

Set a PEAR::Log object to use for a specific error stack instance

Parameter

Log &$log

Throws

No exceptions thrown.

Note

This function can not be called statically.



PEAR_ErrorStack::setErrorMessageTemplate PEAR_ErrorStack::setMessageCallback

PEAR_ErrorStack

PEAR Manual