Back to Joomla project (class list)

Class CallbackLogger - list of methods

Joomla! Callback Log class
This class allows logging to be handled by a callback function. This allows unprecedented flexibility in the way logging can be handled.

Extends

Package: Joomla\CMS\Log\Logger
Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Log/Logger/CallbackLogger.php
Project: Joomla

Method Summary

public
(array &$options)

Constructor.
Parameters
  • array & $options Log object options.
Since
  • 3.0.1
-
  • \RuntimeException
Show source code of this method: __construct Source Code

public void
(\Joomla\CMS\Log\LogEntry $entry)

Method to add an entry to the log.
Parameters
  • \Joomla\CMS\Log\LogEntry $entry The log entry object to add to the log.
Returns
  • void
Since
  • 3.0.1
-
  • \RuntimeException
Show source code of this method: addEntry Source Code

Properties Summary

protected callable
$callback
The function to call when an entry is added
Since
  • 3.0.1

Tags Summary

Since
3.0.1