Back to Joomla project (class list)

Class Logger - list of methods

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.

Direct known subclasses

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

Method Summary

public
(array &$options)

Constructor.
Parameters
  • array & $options Log object options.
Since
  • 3.0.1
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 array
$options
Options array for the Log instance.
Since
  • 3.0.1
protected array
$priorities
Translation array for LogEntry priorities to text strings.
Since
  • 3.0.1

Tags Summary

Since
3.0.1