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.

Joomla 11.1 JLog::getInstance


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'
Parameter Type Default Description
$file 'error.php'
$options null
$path null

See also

  • Joomla 11.1 JLog::getInstance source code on BitBucket
  • Joomla 11.1 Class JLog
  • Joomla 11.1 Subpackage Log
  • Other versions of JLog::getInstance

User contributed notes

Code Examples