API17

API17:JLogEntry:: construct

From Joomla! Documentation

Joomla 11.1 JLogEntry::__construct

Description

Constructor.


public function __construct (
        $message
        $priority=JLog::INFO
        $category= ''
        $date=null
)
Parameter Type Default Description
$message string The message to log.
$priority string JLog::INFO Message priority based on {$this->_priorities}.
$category string Type of entry
$date string null Date of entry (defaults to now if not specified or blank)
  • Returns void
  • Defined on line 79 of libraries/joomla/log/logentry.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples