Logger

Joomla! Logger Base Class

abstract

This class is used to be the basis of logger classes to allow for defined functions to exist regardless of the child class.

since

3.0.1

Methods

__construct

Constructor.

__construct(array &$options) 
since

3.0.1

Arguments

$options

array

addEntry

Method to add an entry to the log.

addEntry(\Joomla\CMS\Log\LogEntry $entry) : void
abstract
since

3.0.1

throws

\RuntimeException

Arguments

$entry

\Joomla\CMS\Log\LogEntryThe log entry object to add to the log.

Properties

options

Options array for the JLog instance.

since

3.0.1

Type(s)

array

priorities

Translation array for LogEntry priorities to text strings.

since

3.0.1

Type(s)

array