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.0.1';
4 69     69   284220 use Moo;
  69         7152  
  69         678  
5 69     69   35853 use Test::More;
  69         91423  
  69         1181  
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__