Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe LogEntry

Fonctions membres publiques

 __construct ($message, $priority=Log::INFO, $category='', $date=null, array $context=array())
 

Champs de données

 $category
 
 $context
 
 $date
 
 $message
 
 $priority = Log::INFO
 
 $callStack = array()
 

Attributs protégés

 $priorities
 

Description détaillée

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.

Depuis
1.7.0

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $message,
  $priority = Log::INFO,
  $category = '',
  $date = null,
array  $context = array() 
)

Constructor

Paramètres
string$messageThe message to log.
int$priorityMessage priority based on {$this->priorities}.
string$categoryType of entry
string$dateDate of entry (defaults to now if not specified or blank)
array$contextAn optional array with additional message context.
Depuis
1.7.0 3.10.7 If the message contains 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.

Références $category, $context, $date, $message, category, Log\INFO, et Path\removeRoot().

Documentation des champs

◆ $callStack

$callStack = array()

◆ $category

◆ $context

$context

◆ $date

$date

◆ $message

$message

◆ $priorities

$priorities
protected

◆ $priority

$priority = Log::INFO

La documentation de cette classe a été générée à partir du fichier suivant :