Ash Berlin > MooseX-LogDispatch-1.1001 > MooseX::LgoDispatch::Levels

Download:
MooseX-LogDispatch-1.1001.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: MooseX-LogDispatch-1.2002

NAME ^

MooseX::LgoDispatch::Levels

SYNOPSIS ^

 package MyLogger;
 use Moose;
 with 'MooseX::LogDispatch::Levels';

 # Optional confuration attribute would go here.

 # Elsewhere...

 my $logger = MyLogger->new;
 $logger->debug("Something to log");
 $logger->logger->debug("This also works");

DESCRIPTION ^

Like MooseX::LogDispatch, but with methods for the various log levels added directly to your class.

Configuration is done in the exact same way as for MooseX::LogDispatch.

METHODS ^

log

debug

info

notice

warning

error

critical

alert

emergency

AUTHOR ^

Ash Berlin <ash@cpan.org>.

LICENCE ^

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

syntax highlighting: