NAME

App::Rssfilter::Logger - adds a logger to a class

VERSION

version 0.07

SYNOPSIS

package Foo;
use Moo; # or Role::Tiny::With;
with 'App::Rssfilter::Logger';

package main;

my $foo = Foo->new;
$foo->logger->debug( 'logging to my fresh new foo' );

DESCRIPTION

App::Rssfilter::Logger is a role that can be composed into any class, and adds a logger attribute which can be used to log to a Log::Any::Adapter.

ATTRIBUTES

logger

This is a Log::Any object.

SEE ALSO

AUTHOR

Daniel Holz <dgholz@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Daniel Holz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.