JLog::add
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.
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) |
- Returns void
- Defined on line 146 of libraries/joomla/log/log.php
- Since
- Referenced by
- JDaemon::__construct
- addEntry
- JDatabase::addQuoted
- JDaemon::changeIdentity
- JDaemon::daemonize
- JDatabase::debug
- JDatabaseSQLSrv::explain
- JDatabaseSQLAzure::explain
- JDatabaseMySQLi::explain
- JDatabaseMySQL::explain
- JDaemon::fork
- JDatabase::getErrorMsg
- JDatabase::getErrorNum
- getInstance
- JDatabase::getTicker
- JDaemon::isActive
- JDatabase::isQuoted
- JDatabaseSQLSrv::query
- JDatabaseSQLAzure::query
- JDatabaseMySQLi::query
- JDatabaseMySQL::query
- JDatabaseSQLSrv::queryBatch
- JDatabaseSQLAzure::queryBatch
- JDatabaseMySQLi::queryBatch
- JDatabaseMySQL::queryBatch
- JDaemon::restart
- JDaemon::setupSignalHandlers
- JDaemon::shutdown
- JDaemon::signal
- JDaemon::start
- JDatabase::stderr
- JDaemon::stop
- JDaemon::writeProcessIdFile
See also[edit]
- JLog::add source code on BitBucket
- Class JLog
- Subpackage Log
- Other versions of JLog::add
Template:SeeAlso:JLog::add [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />