File Coverage

blib/lib/Log/Any/Adapter/Stderr.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Log::Any::Adapter::Stderr;
2             {
3             $Log::Any::Adapter::Stderr::VERSION = '0.11';
4             }
5 1     1   6 use strict;
  1         3  
  1         43  
6 1     1   7 use warnings;
  1         2  
  1         32  
7 1     1   6 use base qw(Log::Any::Adapter::FileScreenBase);
  1         2  
  1         166  
8              
9             __PACKAGE__->make_logging_methods(
10             sub {
11 1     1   874 my ( $self, $text ) = @_;
12 1         64 print STDERR "$text\n";
13             }
14             );
15              
16             1;
17              
18             __END__