\Horde_Notification_Handler_Decorator_Log

The Log Decorator logs error events when they are pushed on the stack.

Copyright 2001-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
push()
notify()
__construct()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_logger
N/A

Properties

$_logger

$_logger : object

The log handler.

Type

object

Methods

push()

push(\Horde_Notification_Event  $event, array  $options) 

Event is being added to the Horde message stack.

Parameters

\Horde_Notification_Event $event

Event object.

array $options

Additional options (see Horde_Notification_Handler for details).

notify()

notify(\Horde_Notification_Handler  $handler, \Horde_Notification_Listener  $listener) 

Listeners are handling their messages.

Parameters

\Horde_Notification_Handler $handler

The base handler object.

\Horde_Notification_Listener $listener

The Listener object that is handling its messages.

Throws

\Horde_Notification_Exception

__construct()

__construct(object  $logger) 

Constructor.

Parameters

object $logger

The log handler. The provided instance is required to implement the debug() function. You should be able to use a common Logger here (PEAR Log, Horde_Log_Logger, or Zend_Log).