JLog: Difference between revisions
From Joomla! Documentation
No edit summary |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JLog}} | |||
{{Description:JLog}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 28: | Line 25: | ||
<source lang="php">jimport( 'joomla.error.log' );</source> | <source lang="php">jimport( 'joomla.error.log' );</source> | ||
{{subst:SeeAlso:JLog}} | |||
{{SeeAlso:JLog}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:22, 24 March 2017
{{subst:Description:JLog}}
Defined in
libraries/joomla/error/log.php
Methods
| Method name | Description |
|---|---|
| __construct | Constructor |
| setOptions | Set log file options |
| addEntry | |
| getInstance | Returns a reference to the global log object, only creating it if it doesn't already exist. |
Importing
jimport( 'joomla.error.log' );
{{subst:SeeAlso:JLog}}
Examples
<CodeExamplesForm />