Perlbug::LogPerlbug::Log is a Perl module for generic logging/debugging functions to all Perlbug. | |
Download |
Perlbug::Log Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Richard Foley
- Publisher web site:
- http://search.cpan.org/~rfoley/Perlbug-2.93/Perlbug/Format.pm
Perlbug::Log Tags
Perlbug::Log Description
Perlbug::Log is a Perl module for generic logging/debugging functions to all Perlbug. Perlbug::Log is a Perl module for generic logging/debugging functions to all Perlbug.Expected to be called from sub-classes, this needs some more work to cater comfortably for non-method calls.Debug level can be modified via the environment variable: Perlbug_DebugSYNOPSIS my $o_log = Perlbug::Log->new('log' => $log, 'res' => $res); $o_log->append('res', "other datan"); $o_log->append('log', "some datan"); $o_log->append('res', "OKn"); my $a_data = $o_log->read('res'); print $a_data; # 'other datanOKn'METHODSnewCreate new Perlbug::Log object my $obj = Perlbug::Log->new('log' => $log, 'tmp => $tmp, 'debug' => 2);filesReturn files based on key (or all) my @files = $o_log->files();handleReturn handle based on key my $fh = $o_log->handle('log'); Requirements: · Perl
Perlbug::Log Related Software