⇦ Back to Joomla project (class list)Class LogEntry - list of methods
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.
Package: Joomla\CMS\Log
Copyright: (C) 2011 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Log/LogEntry.php
Method Summary
public
(mixed $message, mixed $priority = Log::INFO, mixed $category = '', mixed $date = null, array $context = array())
Constructor
Parameters
- string $message The message to log.
- int $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)
- array $context An optional array with additional message context.
Since
-
- 3.10.7 If the message containes a full path, the root path (JPATH_ROOT) is removed from it
to avoid any full path disclosure. Before 3.10.7, the path was propagated as provided.
Properties Summary
public string
$category
Application responsible for log entry.
Since
public array
$context
The message context.
Since
public \Joomla\CMS\Date\Date
$date
The date the message was logged.
Since
public string
$message
Message to be logged.
Since
public string
$priority
The priority of the message to be logged.
Since
-
protected array
$priorities
List of available log priority levels [Based on the Syslog default levels].
Since
public array
$callStack
Call stack and back trace of the logged call.
Since
Tags Summary