Difference between revisions of "JLoggerFormattedText"
From Joomla! Documentation
m (→User contributed notes: bad link repair) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JLoggerFormattedText== | =={{JVer|11.1}} JLoggerFormattedText== | ||
===Description=== | ===Description=== | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 14: | Line 12: | ||
|- | |- | ||
|public | |public | ||
− | |[[JLoggerFormattedText::__construct | + | |[[API17:JLoggerFormattedText::__construct|__construct]] |
|Constructor. | |Constructor. | ||
|- | |- | ||
|public | |public | ||
− | |[[JLoggerFormattedText::__destruct | + | |[[API17:JLoggerFormattedText::__destruct|__destruct]] |
|Destructor. | |Destructor. | ||
|- | |- | ||
|public | |public | ||
− | |[[JLoggerFormattedText::addEntry | + | |[[API17:JLoggerFormattedText::addEntry|addEntry]] |
|Method to add an entry to the log. | |Method to add an entry to the log. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JLoggerFormattedText::generateFileHeader | + | |[[API17:JLoggerFormattedText::generateFileHeader|generateFileHeader]] |
|Method to generate the log file header. | |Method to generate the log file header. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JLoggerFormattedText::initFile | + | |[[API17:JLoggerFormattedText::initFile|initFile]] |
|Method to initialise the log file. | |Method to initialise the log file. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JLoggerFormattedText::parseFields | + | |[[API17:JLoggerFormattedText::parseFields|parseFields]] |
|Method to parse the format string into an array of fields. | |Method to parse the format string into an array of fields. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/log/loggers/formattedtext.php | * '''Defined in''' libraries/joomla/log/loggers/formattedtext.php | ||
− | * '''Extends''' [[JLogger | + | * '''Extends''' [[API17:JLogger|JLogger]] |
* '''Extended by''' | * '''Extended by''' | ||
− | ** [[JLoggerW3C | + | ** [[API17:JLoggerW3C|JLoggerW3C]] |
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.log.loggers.formattedtext' );</source> | <source lang="php">jimport( 'joomla.log.loggers.formattedtext' );</source> | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JLoggerFormattedText source code''' on [[jplatform:log/loggers/formattedtext.php|BitBucket]] | * {{JVer|11.1}} '''JLoggerFormattedText source code''' on [[jplatform:log/loggers/formattedtext.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Log | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Log|Log]] |
− | * [[JLoggerFormattedText|Other versions of JLoggerFormattedText]] | + | * [[API17:JLoggerFormattedText|Other versions of JLoggerFormattedText]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JLoggerFormattedText | category=JLoggerFormattedText | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Line 63: | Line 59: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:24, 24 March 2017
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.
JLoggerFormattedText[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | __destruct | Destructor. |
public | addEntry | Method to add an entry to the log. |
protected | generateFileHeader | Method to generate the log file header. |
protected | initFile | Method to initialise the log file. |
protected | parseFields | Method to parse the format string into an array of fields. |
- Defined in libraries/joomla/log/loggers/formattedtext.php
- Extends JLogger
- Extended by
Importing[edit]
jimport( 'joomla.log.loggers.formattedtext' );
See also[edit]
- JLoggerFormattedText source code on BitBucket
- Subpackage Log
- Other versions of JLoggerFormattedText
User contributed notes[edit]
Code Examples[edit]