Documentation

Horde_Notification_Handler_Decorator_Log extends Horde_Notification_Handler_Decorator_Base
in package

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.

Tags
author

Jan Schneider jan@horde.org

category

Horde

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

$_logger  : object
The log handler.
__construct()  : mixed
Constructor.
notify()  : mixed
Listeners are handling their messages.
push()  : mixed
Event is being added to the Horde message stack.

Properties

$_logger

The log handler.

private object $_logger

Methods

__construct()

Constructor.

public __construct(object $logger) : mixed
Parameters
$logger : object

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

Return values
mixed

push()

Event is being added to the Horde message stack.

public push(Horde_Notification_Event $event, array<string|int, mixed> $options) : mixed
Parameters
$event : Horde_Notification_Event

Event object.

$options : array<string|int, mixed>

Additional options (see Horde_Notification_Handler for details).

Return values
mixed

Search results