Actions

API17

Difference between revisions of "JLoggerFormattedText"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (User contributed notes: bad link repair)
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JLoggerFormattedText==
 +
===Description===
 +
{{Description:JLoggerFormattedText}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JLoggerFormattedText|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JLoggerFormattedText|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JLoggerFormattedText}}
 
===Defined in===
 
libraries/joomla/log/loggers/formattedtext.php
 
===Subpackage===
 
[[Subpackage Log/11.1|Log]]
 
===Extends===
 
[[JLogger/11.1|JLogger]]
 
===Extended by===
 
* [[JLoggerW3C/11.1|JLoggerW3C]]
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JLoggerFormattedText::__construct/11.1|__construct]]
 
|[[JLoggerFormattedText::__construct/11.1|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JLoggerFormattedText::__destruct/11.1|__destruct]]
 
|[[JLoggerFormattedText::__destruct/11.1|__destruct]]
 
|Destructor.  
 
|Destructor.  
 
|-
 
|-
 +
|public
 
|[[JLoggerFormattedText::addEntry/11.1|addEntry]]
 
|[[JLoggerFormattedText::addEntry/11.1|addEntry]]
 
|Method to add an entry to the log.  
 
|Method to add an entry to the log.  
 
|-
 
|-
 +
|protected
 
|[[JLoggerFormattedText::generateFileHeader/11.1|generateFileHeader]]
 
|[[JLoggerFormattedText::generateFileHeader/11.1|generateFileHeader]]
 
|Method to generate the log file header.  
 
|Method to generate the log file header.  
 
|-
 
|-
 +
|protected
 
|[[JLoggerFormattedText::initFile/11.1|initFile]]
 
|[[JLoggerFormattedText::initFile/11.1|initFile]]
 
|Method to initialise the log file.  
 
|Method to initialise the log file.  
 
|-
 
|-
 +
|protected
 
|[[JLoggerFormattedText::parseFields/11.1|parseFields]]
 
|[[JLoggerFormattedText::parseFields/11.1|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
 +
* '''Extends''' [[JLogger/11.1|JLogger]]
 +
* '''Extended by'''
 +
** [[JLoggerW3C/11.1|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===
* [[JLoggerFormattedText|Other versions of this class]]
+
* {{JVer|11.1}} '''JLoggerFormattedText source code''' on [[jplatform:log/loggers/formattedtext.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage Log/11.1|Log]]
 +
* [[JLoggerFormattedText|Other versions of JLoggerFormattedText]]
 
{{SeeAlso:JLoggerFormattedText}}
 
{{SeeAlso:JLoggerFormattedText}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JLoggerFormattedText|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JLoggerFormattedText|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 60:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JLoggerFormattedText]]</noinclude>
+
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JLoggerFormattedText]]</noinclude>

Revision as of 13:56, 29 August 2012

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JLoggerFormattedText

Description

Description:JLoggerFormattedText [Edit Descripton]

Methods

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

jimport( 'joomla.log.loggers.formattedtext' );

See also

SeeAlso:JLoggerFormattedText [Edit See Also]

User contributed notes

<CodeExamplesForm />