You Are Here: Home »Manuals»Pear »   Package.authentication.auth.auth.attachlogobserver
Auth::attachLogObserver()

Auth::attachLogObserver()

Auth::attachLogObserver() -- Attach a log observer instance to the internal Log object

Description

Attach an instance of a Log_Observer to the internal Log object. This allows the internal logs to be accessed and used as you wish within your application.

Parameter

object &$observer

The instance of the Log_Observer to attach to the internal Log object.

Note

This function can not be called statically.

This function has only been available since version 1.5.0.