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.3514_04'; # TRIAL
5             $Dancer::Logger::Console::VERSION = '1.351404';
6 1     1   441 use strict;
  1         2  
  1         27  
7 1     1   5 use warnings;
  1         2  
  1         28  
8 1     1   5 use base 'Dancer::Logger::Abstract';
  1         1  
  1         162  
9              
10             sub _log {
11 0     0     my ($self, $level, $message) = @_;
12 0           print STDERR $self->format_message($level => $message);
13             }
14              
15             1;
16              
17             __END__