class FormattedtextLogger extends Logger

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.

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.