Back to Joomla project (class list)

Class SyslogLogger - list of methods

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.

Extends

Package: Joomla\CMS\Log\Logger
Copyright: (C) 2011 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Log/Logger/SyslogLogger.php
Project: Joomla

Method Summary

public
(array &$options)

Constructor.
Parameters
  • array & $options Log object options.
Since
  • 1.7.0
Show source code of this method: __construct Source Code

public
()

Destructor.
Since
  • 1.7.0
Show source code of this method: __destruct Source Code

public void
(\Joomla\CMS\Log\LogEntry $entry)

Method to add an entry to the log.
Parameters
  • \Joomla\CMS\Log\LogEntry $entry The log entry object to add to the log.
Returns
  • void
Since
  • 1.7.0
Show source code of this method: addEntry Source Code

Properties Summary

protected array
$priorities
Translation array for LogEntry priorities to SysLog priority names.
Since
  • 1.7.0

Tags Summary

Since
1.7.0