API17

JLogEntry:: construct

From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

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

  • Joomla 11.1 JLogEntry::__construct source code on BitBucket
  • Joomla 11.1 Class JLogEntry
  • Joomla 11.1 Subpackage Log
  • Other versions of JLogEntry::__construct


User contributed notes

Code Examples