Class JLogLoggerCallback

Description

Joomla! Callback Log class

This class allows logging to be handled by a callback function. This allows unprecedented flexibility in the way logging can be handled.

  • since: 12.2

Located in /libraries/joomla/log/logger/callback.php (line 22)

JLogLogger
   |
   --JLogLoggerCallback
Variable Summary
 callable $callback
Method Summary
 JLogLoggerCallback __construct (array &$options)
 boolean addEntry (JLogEntry $entry)
Variables
callable $callback (line 28)
  • var: The function to call when an entry is added - should return True on success
  • since: 12.2
  • access: protected

Inherited Variables

Inherited from JLogLogger

JLogLogger::$options
JLogLogger::$priorities
Methods
Constructor __construct (line 37)

Constructor.

  • since: 12.2
  • access: public
JLogLoggerCallback __construct (array &$options)
  • array &$options: Log object options.

Redefinition of:
JLogLogger::__construct()
Constructor.
addEntry (line 63)

Method to add an entry to the log.

  • return: True on success.
  • since: 12.2
  • throws: LogException
  • access: public
boolean 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 14:55:00 +0100 by phpDocumentor 1.4.3