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 24)


	
			
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 31)

Application responsible for log entry.

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

The date the message was logged.

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

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 60)

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

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

The priority of the message to be logged.

Methods
Constructor __construct (line 81)

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 Mon, 25 Jun 2012 13:54:27 -0500 by phpDocumentor 1.4.4