File Coverage

lib/MooseX/DIC/Loggable.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package MooseX::DIC::Loggable;
2              
3 5     5   4311 use Moose::Role;
  5         25840  
  5         19  
4 5     5   29852 use Log::Log4perl;
  5         10  
  5         61  
5              
6             has logger => ( is => 'ro', isa => 'Log::Log4perl::Logger', lazy => 1, default => sub {
7             return Log::Log4perl->get_logger(__PACKAGE__);
8             });
9              
10             1;