[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Log/Logger/ -> DatabaseLogger.php (summary)

Joomla! Content Management System

Copyright: (C) 2011 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 168 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

DatabaseLogger:: (3 methods):
  __construct()
  addEntry()
  connect()


Class: DatabaseLogger  - X-Ref

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.

__construct(array &$options)   X-Ref
Constructor.

param: array  &$options  Log object options.

addEntry(LogEntry $entry)   X-Ref
Method to add an entry to the log.

param: LogEntry  $entry  The log entry object to add to the log.
return: void

connect()   X-Ref
Method to connect to the database server based on object properties.

return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer