API17

JLog::add

From Joomla! Documentation

Revision as of 21:08, 11 May 2013 by JoomlaWikiBot (talk | contribs) (moving preparation)

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[edit]

Description[edit]

Method to add an entry to the log.

Template:Description:JLog::add [Edit Descripton]

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[edit]

Template:SeeAlso:JLog::add [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />