Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct (array &$options) | |
__destruct () | |
addEntry (LogEntry $entry) | |
Fonctions membres publiques hérités de Logger | |
__construct (array &$options) | |
addEntry (LogEntry $entry) | |
Fonctions membres protégées | |
formatLine (LogEntry $entry) | |
generateFileHeader () | |
initFile () | |
parseFields () | |
Attributs protégés | |
$format = '{DATETIME} {PRIORITY} {CLIENTIP} {CATEGORY} {MESSAGE}' | |
$fields = array() | |
$path | |
$defer = false | |
$deferredEntries = array() | |
Attributs protégés hérités de Logger | |
$options = array() | |
$priorities | |
Joomla! Formatted Text File Log class
This class is designed to use as a base for building formatted text files for output. By default it emulates the Syslog style format output. This is a disk based output format.
__construct | ( | array & | $options | ) |
__destruct | ( | ) |
If deferred, write all pending logs.
addEntry | ( | LogEntry | $entry | ) |
Method to add an entry to the log.
LogEntry | $entry | The log entry object to add to the log. |
|
protected |
|
protected |
Method to generate the log file header.
Références JPlatform\getLongVersion().
|
protected |
Method to initialise the log file. This will create the folder path to the file if it doesn't already exist and also get a new file header if the file doesn't already exist. If the file already exists it will simply open it for writing.
|
protected |
Method to parse the format string into an array of fields.
Références fields.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |