Difference between revisions of "JLogEntry:: construct"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Constructor. | Constructor. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function __construct ( | public function __construct ( | ||
Line 49: | Line 47: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JLogEntry::__construct source code''' on [[jplatform:log/logentry.php#cl-71|BitBucket]] | * {{JVer|11.1}} '''JLogEntry::__construct source code''' on [[jplatform:log/logentry.php#cl-71|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JLogEntry | + | * {{JVer|11.1}} Class [[API17:JLogEntry|JLogEntry]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Log | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Log|Log]] |
− | * [[JLogEntry::__construct|Other versions of JLogEntry::__construct]] | + | * [[API17:JLogEntry::__construct|Other versions of JLogEntry::__construct]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JLogEntry::__construct | category=JLogEntry::__construct | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Line 67: | Line 63: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:24, 24 March 2017
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.
JLogEntry::__construct[edit]
Description[edit]
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[edit]
- JLogEntry::__construct source code on BitBucket
- Class JLogEntry
- Subpackage Log
- Other versions of JLogEntry::__construct
User contributed notes[edit]
Code Examples[edit]