PEAR_ErrorStack::_log

PEAR_ErrorStack::_log() – Enregistre une erreur en utilisant 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

Ceci est une fonction protégée et doit uniquement être appelée par une classe enfant qui étend la classe PEAR_ErrorStack.

Parameter

array $err

tableau d'erreurs

array $levels

Degrès d'erreur => Carte de constante d'enregistrement

Throws

No exceptions thrown.

Note

This function can not be called statically.