VERSION
VERSION
__construct(\Horde_Log_Handler_Base|null $handler = null)
Constructor.
\Horde_Log_Handler_Base|null | $handler | Default handler. |
addFilter(\Horde_Log_Filter $filter)
Add a filter that will be applied before all log handlers.
Before a message will be received by any of the handlers, it must be accepted by all filters added with this method.
\Horde_Log_Filter | $filter | Filter to add. |
addHandler(\Horde_Log_Handler_Base $handler)
Add a handler. A handler is responsible for taking a log message and writing it out to storage.
\Horde_Log_Handler_Base | $handler | Handler to add. |