JLog::setInstance
From Joomla! Documentation
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
Description
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
JLog::setInstance source code on BitBucket
Class JLog
Subpackage Log
- Other versions of JLog::setInstance