previousPEAR_ErrorStack::staticPushCallback (Previous) (Next) Package PEAR_ErrorStack Constantsnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

PEAR_ErrorStack::_log

PEAR_ErrorStack::_log() – Log an error using PEAR::Log

Synopsis

require_once 'PEAR/ErrorStack.php';

void PEAR_ErrorStack::_log ( array $err , array $levels = array( 'exception' => PEAR_LOG_CRIT, 'alert' => PEAR_LOG_ALERT, 'critical' => PEAR_LOG_CRIT, 'error' => PEAR_LOG_ERR, 'warning' => PEAR_LOG_WARNING, 'notice' => PEAR_LOG_NOTICE, 'info' => PEAR_LOG_INFO, 'debug' => PEAR_LOG_DEBUG) )

Description

This is a protected function, and should only be called by child classes that extend PEAR_ErrorStack

Parameter

array $err

Error array

array $levels

Error level => Log constant map

Throws

throws no exceptions thrown

Note

This function can not be called statically.

previousPEAR_ErrorStack::staticPushCallback (Previous) (Next) Package PEAR_ErrorStack Constantsnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.