Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
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 | ) |
Constructor.
array | &$options | Log object options. |
Références Logger\$options, Symfony\Contracts\Service\__construct(), Factory\getApplication(), JPATH_ADMINISTRATOR, et path.
addEntry | ( | LogEntry | $entry | ) |
|
protected |
|
protected |
Method to generate the log file header.
|
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.
Références path.
|
protected |
Method to parse the format string into an array of fields.
Références fields.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |