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 JLog::add


Method to add an entry to the log.

public static function add (
        $category= ''
Parameter Type Default Description
$entry mixed The object to add to the log or the message for a new object.
$priority integer JLog::INFO Message priority.
$category string Type of entry
$date string null Date of entry (defaults to now if not specified or blank)

See also

  • Joomla 11.1 JLog::add source code on BitBucket
  • Joomla 11.1 Class JLog
  • Joomla 11.1 Subpackage Log
  • Other versions of JLog::add

User contributed notes

Code Examples