Konstrukt::Plugin::log::DBI - Konstrukt logging. DBI backend
#nothing special here
Konstrukt logging. DBI backend
#backend log/DBI/source dbi:driver:db:server log/DBI/user user log/DBI/pass pass
If no database settings are set the defaults from "CONFIGURATION" in Konstrukt::DBI will be used.
Note that you have to create a table called log
. You may turn on the install
setting (see "CONFIGURATION" in Konstrukt::Handler) or use the KonstruktBackendInitialization.pl
script to accomplish this task.
Initialization of this class
Installs the backend (e.g. create tables).
Parameters:
none
Adds a new log entry.
Parameters:
Returns the requested log entries as an array reference of hash references.
Parameters:
Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.
This document is free software. It is distributed under the same terms as Perl itself.