Class JLoggerSysLog

Description

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: 11.1

Located in /libraries/joomla/log/loggers/syslog.php (line 26)

JLogger
   |
   --JLoggerSysLog
Variable Summary
array $priorities
Method Summary
JLoggerSysLog __construct (array &$options)
void __destruct ()
void addEntry (JLogEntry $entry)
Variables
array $priorities = array(
JLog::EMERGENCY => 'EMERG',
JLog::ALERT => 'ALERT',
JLog::CRITICAL => 'CRIT',
JLog::ERROR => 'ERR',
JLog::WARNING => 'WARNING',
JLog::NOTICE => 'NOTICE',
JLog::INFO => 'INFO',
JLog::DEBUG => 'DEBUG')
(line 32)
  • var: Translation array for JLogEntry priorities to SysLog priority names.
  • since: 11.1
  • access: protected

Inherited Variables

Inherited from JLogger

JLogger::$options
Methods
Constructor __construct (line 49)

Constructor.

  • since: 11.1
  • access: public
JLoggerSysLog __construct (array &$options)
  • array &$options: Log object options.

Redefinition of:
JLogger::__construct()
Constructor.
Destructor __destruct (line 100)

Destructor.

  • since: 11.1
  • access: public
void __destruct ()
addEntry (line 114)

Method to add an entry to the log.

  • since: 11.1
  • access: public
void addEntry (JLogEntry $entry)
  • JLogEntry $entry: The log entry object to add to the log.

Redefinition of:
JLogger::addEntry()
Method to add an entry to the log.

Inherited Methods

Inherited From JLogger

JLogger::__construct()
JLogger::addEntry()

Documentation generated on Mon, 25 Jun 2012 14:00:00 -0500 by phpDocumentor 1.4.4