The Log_sqlite class is a concrete implementation of the Log:: abstract class which sends messages to an Sqlite database.
Each entry occupies a separate row in the database.
This implementation uses PHP native Sqlite functions.
CREATE TABLE log_table ( id INTEGER PRIMARY KEY NOT NULL, logtime NOT NULL, ident CHAR(16) NOT NULL, priority INT NOT NULL, message );
Located in /maintenance/libraries/pear/Log/sqlite.php (line 43)
Log | --Log_sqlite
Object holding the database handle.
Flag indicating that we're using an existing database connection.
Array containing the connection defaults
String holding the database table to use.
Inherited from Log
Log::$_id
Log::$_ident
Log::$_listeners
Log::$_mask
Log::$_opened
Log::$_priority
Constructs a new sql logging object.
Closes the connection to the database if it is still open and we were the ones that opened it. It is the caller's responsible to close an existing connection that was passed to us via $conf['db'].
Inserts $message to the currently open database. Calls open(), if necessary. Also passes the message along to any Log_observer instances that are observing this Log.
Opens a connection to the database, if it has not already been opened. This is implicitly called by log(), if necessary.
Checks whether the log table exists and creates it if necessary.
Inherited From Log
Log::alert()
Log::attach()
Log::close()
Log::crit()
Log::debug()
Log::detach()
Log::emerg()
Log::err()
Log::factory()
Log::flush()
Log::getIdent()
Log::getMask()
Log::getPriority()
Log::info()
Log::isComposite()
Log::log()
Log::MASK()
Log::notice()
Log::open()
Log::priorityToString()
Log::setIdent()
Log::setMask()
Log::setPriority()
Log::singleton()
Log::UPTO()
Log::warning()
Log::_announce()
Log::_extractMessage()
Log::_isMasked()
Documentation generated on Fri, 11 Feb 2005 18:14:09 +0000 by phpDocumentor 1.3.0RC3