API17:JLogEntry:: construct
From Joomla! Documentation
JLogEntry::__construct
Description
Constructor.
public function __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) |
See also
JLogEntry::__construct source code on BitBucket
Class JLogEntry
Subpackage Log- Other versions of JLogEntry::__construct
User contributed notes
Code Examples