TRD::DebugLog - debug log
Version 0.0.9
Quick summary of what the module does.
Perhaps a little code snippet.
use TRD::DebugLog; $TRD::DebugLog::enabled = 1; dlog( "this is debug log" ); or use TRD::DebugLog { enabled=>1, timeformat='YYYY-MM-DD HH24:MI:SS' }; dlog( "this is debug log" );
A list of functions that can be exported. You can delete this section if you don't export anything, such as for a purely object-oriented module.
show debug log. $TRD::DebugLog::enabled default: 0 = 1 : enable debug log = 0 : disable debug log $TRD::DebugLog::timestamp default: 1 = 1 : show timestamp enable = 0 : show timestamp disable $TRD::DebugLog::file default: undef debug log append to file $TRD::DebugLog::timeformat default: YYYY/MM/DD HH24:MI:SS YYYY : 4digit Year YY : 2digit Year MM : 2digit Month DD : 2digit Day HH24 : 24hour 2digit Hour MI : 2digit Min SS : 2digit Sec $TRD::DebugLog::cutpackage default: main (cut 'main::' only) : all
show exception log
make timestr my $timestr = &TRD::DebugLog::getTimeStr( time );
import module
Takuya Ichikawa, <trd.ichi at gmail.com>
<trd.ichi at gmail.com>
Please report any bugs or feature requests to bug-trd-debuglog at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=TRD-DebugLog. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-trd-debuglog at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc TRD::DebugLog
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=TRD-DebugLog
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/TRD-DebugLog
CPAN Ratings
http://cpanratings.perl.org/d/TRD-DebugLog
Search CPAN
http://search.cpan.org/dist/TRD-DebugLog
Copyright 2008 Takuya Ichikawa, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install TRD::DebugLog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm TRD::DebugLog
CPAN shell
perl -MCPAN -e shell install TRD::DebugLog
For more information on module installation, please visit the detailed CPAN module installation guide.