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.

Set the Error Message Template array (Previous) Set an error code => error message mapping callback (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.