PEAR Manual
Prev |  | Next

# 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.

Prev | Home | Next
PEAR_ErrorStack::setDefaultCallback() | Up | PEAR_ErrorStack::setErrorMessageTemplate()