The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Module::Packaged::Generator::Logger - simple logger for the dist

VERSION

version 1.111930

DESCRIPTION

This module implements everything needed to log stuff for this distribution.

METHODS

log

log_debug

log_fatal

    $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.

set_muted

set_debug

    $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.

log_step

    $logger->log_step( $msg );

Record $msg as a new step in the application.

progress_bar

    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.

AUTHOR

Jerome Quelin

COPYRIGHT AND LICENSE

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.