Source for file logger.php
Documentation is available at logger.php
* @package Joomla.Platform
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Joomla! Logger Base Class
* This class is used to be the basis of logger classes to allow for defined functions
* to exist regardless of the child class.
* @package Joomla.Platform
* Options array for the JLog instance.
* @var array Translation array for JLogEntry priorities to text strings.
JLog::EMERGENCY =>
'EMERGENCY',
JLog::CRITICAL =>
'CRITICAL',
JLog::WARNING =>
'WARNING',
JLog::NOTICE =>
'NOTICE',
* @param array &$options Log object options.
// Set the options for the class.
$this->options =
& $options;
* Method to add an entry to the log.
* @param JLogEntry $entry The log entry object to add to the log.
abstract public function addEntry(JLogEntry $entry);
* Deprecated class placeholder. You should use JLogLogger instead.
* @package Joomla.Platform
* @deprecated 13.3 (Platform) & 4.0 (CMS)
* @param array &$options Log object options.
JLog::add('JLogger is deprecated. Use JLogLogger instead.', JLog::WARNING, 'deprecated');
Documentation generated on Tue, 19 Nov 2013 15:07:25 +0100 by phpDocumentor 1.4.3