DBD::Log::Sth - Statement Handler as used by DBD::Log
You could use this, but I guess you want DBD::Log to use this for you.
Logs the actions of the statement handler. If you have a prepared statement executed with bind parameters, you would like the compiled statement in your logfile, right? This does that for you.
execute execute_array bind_param bind_param_array
bind_col bind_columns fetchrow_array fetchrow_arrayref fetchall_arrayref fetchrow_hashref fetchall_hashref rows
DBD::Log
None, so far.
Because the actual call of $sth->whatever() is made inside this package, the messages you receive from the DBI seem to originate from DBD/Log/Sth.pm.
This is anoying, therefor a backtrace is created and stored in DBI->{dbd_log_backtrace}
An attempt is made to find the most suitable entry on the backtrace and it is stored in DBI->{dbd_log_error}
ATTENTION: please also see the CAVEATS section DBD::Log
Hartog C. de Mik <hartog@2organize.com> Lead Developer
(c) 2004 - 2organize, all rights reserved.
To install DBD::Log, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBD::Log
CPAN shell
perl -MCPAN -e shell install DBD::Log
For more information on module installation, please visit the detailed CPAN module installation guide.