Jerome Quelin > App-Magpie-2.000 > App::Magpie::Logger

Download:
App-Magpie-2.000.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 2.000   Source   Latest Release: App-Magpie-2.005

NAME ^

App::Magpie::Logger - magpie logging facility

VERSION ^

version 2.000

SYNOPSIS ^

    my $log = App::Magpie::Logger->instance;
    $log->log_fatal( "die!" );

DESCRIPTION ^

This module holds a singleton used to log stuff throughout various magpie commands. Logging itself is done with Log::Dispatchouli.

ATTRIBUTES ^

log_level

The logging level is an integer. In reality, only 3 levels are recognized:

METHODS ^

log

log_debug

log_fatal

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

AUTHOR ^

Jerome Quelin <jquelin@gmail.com>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: