class DatabaseLogger extends Logger

Joomla! MySQL Database Log class

This class is designed to output logs to a specific MySQL database table. Fields in this table are based on the Syslog style of log output. This is designed to allow quick and easy searching.

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.

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