Class JLogLoggerSyslog

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/logger/syslog.php (line 24)

JLogLogger
   |
   --JLogLoggerSyslog
Variable Summary
 array $priorities
Method Summary
 JLogLoggerSyslog __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 30)
  • var: Translation array for JLogEntry priorities to SysLog priority names.
  • since: 11.1
  • access: protected

Redefinition of:
JLogLogger::$priorities

Inherited Variables

Inherited from JLogLogger

JLogLogger::$options
Methods
Constructor __construct (line 47)

Constructor.

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

Redefinition of:
JLogLogger::__construct()
Constructor.
Destructor __destruct (line 108)

Destructor.

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

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:
JLogLogger::addEntry()
Method to add an entry to the log.

Inherited Methods

Inherited From JLogLogger

 JLogLogger::__construct()
 JLogLogger::addEntry()

Documentation generated on Tue, 19 Nov 2013 15:14:46 +0100 by phpDocumentor 1.4.3