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 4     4   3905 use Moose::Role;
  4         21220  
  4         17  
4 4     4   21958 use Log::Log4perl;
  4         11  
  4         41  
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;