PEAR_ErrorStack::setDefaultLogger

PEAR_ErrorStack::setDefaultLogger() – Set up a PEAR::Log object for all error stacks that don't have one

Synopsis

require_once 'PEAR/ErrorStack.php';

void PEAR_ErrorStack::setDefaultLogger ( Log &$log )

Description

Set up a PEAR::Log object for all error stacks that don't have one

Parameter

Log &$log

Throws

No exceptions thrown.

Note

This function should be called statically.

Sets a default callback to be used by all error stacks (Previous) Set the Error Message Template array (Next)
Last updated: Fri, 28 Nov 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.