Jerome Quelin > App-Magpie > App::Magpie::Role::Logging

Download:
App-Magpie-2.007.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 2.007   Source  

NAME ^

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

VERSION ^

version 2.007

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.

syntax highlighting: