Module::Packaged::Generator::Logger - simple logger for the dist
This module implements everything needed to log stuff for this distribution.
$logger->log( $message );
$logger->log_debug( $message );
$logger->log_fatal( $message );
Those methods allow to log a message, with various degrees of importance. Check Log::Dispatchouli for more information.
$logger->set_debug( $bool );
$logger->set_muted( $bool );
Sets whether the logger object will log debug messages, or will log regular messages at all. Check Log::Dispatchouli for more information.
$logger->log_step( $msg );
Record $msg as a new step in the application.
my $progress = $logger->progress_bar( @options );
Return an object to be used as a Term::ProgressBar object. It won't do anything if we're currently in a quiet mode.
This software is copyright (c) 2010 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Module::Packaged::Generator, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.