API17:JLogEntry:: construct
From Joomla! Documentation
JLogEntry::__construct
Description
Constructor.
Template:Description:JLogEntry:: construct [Edit Descripton]
Since
Synopsis
public JLogEntry->__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 in
libraries/joomla/log/logentry.php
Referenced by
See also
Template:SeeAlso:JLogEntry:: construct
Examples
<CodeExamplesForm />