SyslogLogger

Extends \Joomla\CMS\Log\Logger

Joomla! Syslog Log class

This class is designed to call the PHP Syslog function call which is then sent to the system wide log system. For Linux/Unix based systems this is the syslog subsystem, for the Windows based implementations this can be found in the Event Log. For Windows, permissions may prevent PHP from properly outputting messages.

since

1.7.0

Methods

__construct

Constructor.

__construct(array &$options) 
inherited
since

3.0.1

Arguments

$options

array

__destruct

Destructor.

__destruct() 
since

1.7.0

addEntry

Method to add an entry to the log.

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

3.0.1

throws

\RuntimeException

Arguments

$entry

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

Properties

priorities

Translation array for LogEntry priorities to text strings.

inherited
since

3.0.1

Type(s)

array

options

Options array for the JLog instance.

inherited
since

3.0.1

Type(s)

array