Database

Extends \Joomla\Log\AbstractLogger

Joomla! Database Log class

deprecated

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

since

1.0

deprecated

The joomla/log package is deprecated

Methods

__construct

Constructor.

__construct(array &$options) 
inherited
since

1.0

Arguments

$options

array

addEntry

Method to add an entry to the log.

addEntry(\Joomla\Log\LogEntry $entry) : void
inherited abstract
since

1.0

Arguments

$entry

\Joomla\Log\LogEntryThe log entry object to add to the log.

Properties

db

The database driver object for the logger.

options

Options array for the Log instance.

inherited
since

1.0

Type(s)

array

priorities

Translation array for LogEntry priorities to text strings.

inherited
since

1.0

Type(s)

array