blx::xsdsql::ios::debuglogger - class for debug log
blx::xsdsql::ios::debuglogger - log into stderr debug information
use blx::xsdsql::ios::debuglogger
this package is a class - instance it with the method new
0.10.0
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!
Please report any bugs or feature requests to https://rt.cpan.org/Public/Bug/Report.html?Queue=XSDSQL
lorenzo.bellotti, <pauseblx@gmail.com>
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
To install blx::xsdsql::xml, copy and paste the appropriate command in to your terminal.
cpanm
cpanm blx::xsdsql::xml
CPAN shell
perl -MCPAN -e shell install blx::xsdsql::xml
For more information on module installation, please visit the detailed CPAN module installation guide.