File Coverage

blib/lib/Dancer2/Logger/Note.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 Dancer2::Logger::Note;
2             # ABSTRACT: Test::More note() logging engine for Dancer2
3             $Dancer2::Logger::Note::VERSION = '2.1.0';
4 70     70   390251 use Moo;
  70         11877  
  70         1148  
5 70     70   49803 use Test::More;
  70         128827  
  70         1194  
6              
7             with 'Dancer2::Core::Role::Logger';
8              
9             sub log {
10             my ( $self, $level, $message ) = @_;
11              
12             Test::More::note( $self->format_message( $level => $message ) );
13             }
14              
15             1;
16              
17             __END__