API17:JLog::getInstance
From Joomla! Documentation
JLog::getInstance
Description
Returns a object for a given log file/configuration, only creating it if it doesn't already exist.
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
JLog::getInstance source code on BitBucket
Class JLog
Subpackage Log- Other versions of JLog::getInstance
User contributed notes
Code Examples