Auth::attachLogObserver()

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

Synopsis

void Auth::attachLogObserver ( object &$observer )

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.