JLog
Description
Joomla! Logging class
This class is designed to build log files based on the W3C specification at: http://www.w3.org/TR/WD-logfile.html
Located in /joomla/utilities/log.php (line 29)
JObject (Subpackage Base) JLog (Subpackage Utilities)
Variables
Methods
Constructor __construct (line 57)
Constructor
JLog
__construct
(string $path, array $options)
- string $path: Log file path
- array $options: Log file options
Redefinition of:
- JObject::__construct()
- Class constructor, overridden in descendant classes.
getInstance (line 75)
Returns a reference to the global log object, only creating it if it doesn't already exist.
This method must be invoked as:
$log = & JLog::getInstance();
object The
&getInstance
([ $file = 'error.php'], [ $options = null], [ $path = null])
- $file
- $options
- $path
setOptions (line 108)
Set log file options
boolean
setOptions
(array $options)
- array $options: Associative array of options to set
_openLog (line 163)
Open the log file pointer and create the file if it doesn't exist
boolean
_openLog
()
Inherited Methods
Inherited From JObject
JObject::JObject()
JObject::__construct()
JObject::get()
JObject::getPublicProperties()
JObject::set()
JObject::toString()
Documentation generated on Mon, 05 Mar 2007 21:09:58 +0000 by phpDocumentor 1.3.1