Class JLogEntry

Description

Joomla! Log Entry class

This class is designed to hold log entries for either writing to an engine, or for supported engines, retrieving lists and building in memory (PHP based) search operations.

  • since: 11.1

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


	
			
Variable Summary
 string $category
 string $message
 array $priorities
 string $priority
Method Summary
 JLogEntry __construct (string $message, [string $priority = JLog::INFO], [string $category = ''], [string $date = null])
Variables
string $category (line 29)

Application responsible for log entry.

  • since: 11.1
  • access: public
JDate $date (line 36)

The date the message was logged.

  • since: 11.1
  • access: public
string $message (line 43)

Message to be logged.

  • since: 11.1
  • access: public
array $priorities = array(
JLog::EMERGENCY,
JLog::ALERT,
JLog::CRITICAL,
JLog::ERROR,
JLog::WARNING,
JLog::NOTICE,
JLog::INFO,
JLog::DEBUG
)
(line 58)

List of available log priority levels [Based on the Syslog default levels].

  • since: 11.1
  • access: protected
string $priority = JLog::INFO (line 51)

The priority of the message to be logged.

Methods
Constructor __construct (line 79)

Constructor

  • since: 11.1
  • access: public
JLogEntry __construct (string $message, [string $priority = JLog::INFO], [string $category = ''], [string $date = null])
  • string $message: The message to log.
  • string $priority: Message priority based on {$this->priorities}.
  • string $category: Type of entry
  • string $date: Date of entry (defaults to now if not specified or blank)

Documentation generated on Tue, 19 Nov 2013 15:02:30 +0100 by phpDocumentor 1.4.3