JLog::setInstance
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::setInstance[edit]
Description[edit]
Returns a reference to the a object, only creating it if it doesn't already exist.
public static function setInstance ($instance)
Parameter | Type | Default | Description |
---|---|---|---|
$instance |
- Returns
- Defined on line 263 of libraries/joomla/log/log.php
See also[edit]
- JLog::setInstance source code on BitBucket
- Class JLog
- Subpackage Log
- Other versions of JLog::setInstance
User contributed notes[edit]
Code Examples[edit]