NAME
blx::xsdsql::ios::debuglogger - class for debug log
NAME
blx::xsdsql::ios::debuglogger - log into stderr debug information
SYNOPSIS
use blx::xsdsql::ios::debuglogger
DESCRIPTION
this package is a class - instance it with the method new
VERSION
0.10.0
FUNCTIONS
this module defined the followed functions
new - constructor
PARAMS: DEBUG => set the debug mode - the debug information is not emitted if the attribute DEBUG is false
log - emit debug line
PARAMS: none
the first argument is a caller info and rest of the arguments are emitted on stderr
$log->log(undef,' 1^ line') emit the line "<caller_package_name> (<caller_line>): 1^ line\n" $log->log({PACKAGE => 'mypack'},'2^ line',{ x => 1 }) emit the line "mypack (<caller_line): 2^ line { 'x' => 1 }\n
$log->log({PACKAGE => 'mypack',LINE => 'myline'},'3^ line') emit the line "mypack (myline): 3^ line\n!
BUGS
Please report any bugs or feature requests to https://rt.cpan.org/Public/Bug/Report.html?Queue=XSDSQL
AUTHOR
lorenzo.bellotti, <pauseblx@gmail.com>
COPYRIGHT
Copyright (C) 2010 by lorenzo.bellotti
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html