class CallbackLogger extends Logger

Joomla! Callback Log class

This class allows logging to be handled by a callback function. This allows unprecedented flexibility in the way logging can be handled.

Methods

__construct( array $options)

Constructor.

void
addEntry( LogEntry $entry)

Method to add an entry to the log.

Details

__construct( array $options)

Constructor.

Parameters

array $options &$options Log object options.

Exceptions

RuntimeException

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