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

NAME

App::Magpie::Role::Logging - sthg that can log

VERSION

version 1.111890

SYNOPSIS

    with 'App::Magpie::Role::Logging';
    $self->log_fatal( "die!" );

DESCRIPTION

This role is meant to provide easy logging for classes consuming it. Logging itself is done through App::Magpie::Logger.

ATTRIBUTES

logger

The App::Magpie::Logger object used for logging.

METHODS

log

log_debug

log_fatal

Those methods are provided by a App::Magpie::Logger object. Refer to the corresponding documentation 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.