API17

API17:JLog::add

From Joomla! Documentation

Joomla 11.1 JLog::add

Description

Method to add an entry to the log.


public static function add (
        $entry
        $priority=JLog::INFO
        $category= ''
        $date=null
)
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


User contributed notes

Code Examples