File Coverage

lib/Dancer/Logger/Console.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 4 75.0
pod n/a
total 12 15 80.0


line stmt bran cond sub pod time code
1             package Dancer::Logger::Console;
2             our $AUTHORITY = 'cpan:SUKRIA';
3             #ABSTRACT: console-based logging engine for Dancer
4             $Dancer::Logger::Console::VERSION = '1.3520';
5 1     1   539 use strict;
  1         2  
  1         29  
6 1     1   6 use warnings;
  1         2  
  1         27  
7 1     1   5 use base 'Dancer::Logger::Abstract';
  1         3  
  1         156  
8              
9             sub _log {
10 0     0     my ($self, $level, $message) = @_;
11 0           print STDERR $self->format_message($level => $message);
12             }
13              
14             1;
15              
16             __END__