SYNOPSIS

     use DBI;
     use Log::Any::DBI::Query;
    
     # now SQL queries passed to prepare()'s and do()'s will be logged
     my $dbh = DBI->connect("dbi:...", $user, $pass);
     $dbh->do("INSERT INTO table VALUES (...)");

    From command-line:

     % perl -MLog::Any::Adapter::ScreenColordLevel -MLog::Any::DBI::Query your-dbi-app.pl

DESCRIPTION

    This is a simple module you can do to log SQL statements/queries for
    your DBI-based applications.

SEE ALSO

    Log::Any::For::DBI, which logs calls to prepare(), do(), as well as
    other DBI methods.

