App::Magpie::Logger - magpie logging facility
version 1.120901
my $log = App::Magpie::Logger->instance; $log->log_fatal( "die!" );
This module holds a singleton used to log stuff throughout various magpie commands. Logging itself is done with Log::Dispatchouli.
The logging level is an integer. In reality, only 3 levels are recognized:
0 or less - Quiet: Nothing at all will be logged, except if magpie aborts with an error.
1 - Normal: quiet level + regular information will be logged.
2 or more - Debug: normal level + all debug information will be logged.
$magpie->log( ... ); $magpie->log_debug( ... ); $magpie->log_fatal( ... );
Log stuff at various verbose levels. Uses Log::Dispatchouli underneath - refer to this module for more information.
Jerome Quelin <jquelin@gmail.com>
This software is copyright (c) 2011 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 App::Magpie, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Magpie
CPAN shell
perl -MCPAN -e shell install App::Magpie
For more information on module installation, please visit the detailed CPAN module installation guide.