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: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.