File Coverage

blib/lib/App/AquariumHive/LogRole.pm
Criterion Covered Total %
statement 4 12 33.3
branch n/a
condition n/a
subroutine 2 8 25.0
pod 0 5 0.0
total 6 25 24.0


line stmt bran cond sub pod time code
1             package App::AquariumHive::LogRole;
2             BEGIN {
3 1     1   533 $App::AquariumHive::LogRole::AUTHORITY = 'cpan:GETTY';
4             }
5             $App::AquariumHive::LogRole::VERSION = '0.003';
6 1     1   7 use Moo::Role;
  1         1  
  1         7  
7              
8             with 'MooX::Role::Logger';
9              
10             sub _build__logger_category {
11 0     0     my ( $self ) = @_;
12 0           my $class = ref $self;
13 0           return $class;
14             }
15              
16 0     0 0   sub trace { shift->_logger->trace(@_) }
17 0     0 0   sub debug { shift->_logger->debug(@_) }
18 0     0 0   sub info { shift->_logger->info(@_) }
19 0     0 0   sub notice { shift->_logger->notice(@_) }
20 0     0 0   sub warning { shift->_logger->warning(@_) }
21              
22             1;
23              
24             __END__
25              
26             =pod
27              
28             =head1 NAME
29              
30             App::AquariumHive::LogRole
31              
32             =head1 VERSION
33              
34             version 0.003
35              
36             =head1 AUTHOR
37              
38             Torsten Raudssus <torsten@raudss.us>
39              
40             =head1 COPYRIGHT AND LICENSE
41              
42             This software is copyright (c) 2014 by Torsten Raudssus.
43              
44             This is free software; you can redistribute it and/or modify it under
45             the same terms as the Perl 5 programming language system itself.
46              
47             =cut