JLog::getInstance
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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::getInstance[edit]
Description[edit]
Returns a object for a given log file/configuration, only creating it if it doesn't already exist.
Template:Description:JLog::getInstance [Edit Descripton]
public static function getInstance (
$file= 'error.php'
$options=null
$path=null
)
Parameter | Type | Default | Description |
---|---|---|---|
$file | 'error.php' | ||
$options | null | ||
$path | null |
- Returns
- Defined on line 212 of libraries/joomla/log/log.php
- Referenced by
See also[edit]
- JLog::getInstance source code on BitBucket
- Class JLog
- Subpackage Log
- Other versions of JLog::getInstance
Template:SeeAlso:JLog::getInstance [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />