\JLogLoggerW3c
Joomla! W3c Logging class
This class is designed to build log files based on the W3c specification
at: http://www.w3.org/TR/WD-logfile.html
Synopsis
class JLogLoggerW3c
extends JLogLoggerFormattedtext
{
- // members
- protected $format;
- // Inherited members from JLogLoggerFormattedtext
- protected $file;
- protected $format;
- protected $fields;
- protected $path;
- // Inherited members from JLogLogger
- protected $options;
- protected $priorities;
- // methods
- public void __construct()
- // Inherited methods from JLogLoggerFormattedtext
- public void __construct()
- public void __destruct()
- public boolean addEntry()
- protected string generateFileHeader()
- protected void initFile()
- protected void parseFields()
- // Inherited methods from JLogLogger
- public void __construct()
- public abstract void addEntry()
Hierarchy
Members
protected
- $fields — array
- $file — resource
- $format — string
- $format — string
- $options
—
array
Options array for the JLog instance. - $path — string
- $priorities — array
Methods
Inherited from JLogLoggerFormattedtext
protected
- generateFileHeader() — Method to generate the log file header.
- initFile() — 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.
- parseFields() — Method to parse the format string into an array of fields.
public
- addEntry() — Method to add an entry to the log.
Inherited from JLogLogger
public
- addEntry() — Method to add an entry to the log.