class W3cLogger extends FormattedtextLogger

Joomla! W3C Logging class

This class is designed to build log files based on the W3C specification.

Methods

__construct( array $options)

Constructor.

void
addEntry( LogEntry $entry)

Method to add an entry to the log.

__destruct()

If deferred, write all pending logs.

Details

__construct( array $options)

Constructor.

Parameters

array $options &$options Log object options.

void addEntry( LogEntry $entry)

Method to add an entry to the log.

Parameters

LogEntry $entry The log entry object to add to the log.

Return Value

void

Exceptions

RuntimeException

__destruct()

If deferred, write all pending logs.