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

package

Joomla CMS

Methods

__construct

Constructor.

__construct(mixed||string|int &options) : 
since

3.0.1

Arguments

options

array<string|int, mixed>Log object options.

Response

mixed

addEntry

Method to add an entry to the log.

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

3.0.1

throws

RuntimeException

Arguments

entry

LogEntryThe log entry object to add to the log.

Response

void

Properties

options

Options array for the Log instance.

since

3.0.1

Type(s)

array<string|int, mixed>

priorities

Translation array for LogEntry priorities to text strings.

since

3.0.1

Type(s)

array<string|int, mixed>