blib/lib/Dancer2/Logger/Note.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 100% 1 / 1 totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
log
1.0
CRAP 1.0
« blib/lib/Dancer2/Logger/Diag.pm ↑ Summary blib/lib/Dancer2/Logger/Null.pm »
1 package Dancer2::Logger::Note;
2 # ABSTRACT: Test::More note() logging engine for Dancer2
3 96 $Dancer2::Logger::Note::VERSION = '2.3.0';
4 103 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 103 ▶use Test::More;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 96 with 'Dancer2::Core::Role::Logger';
8  
9 14 ▶sub log {
Subroutine log: called CC=1 SCAR=0.0
Pod documented
10 14 my ( $self, $level, $message ) = @_;
11  
12 14 Test::More::note( $self->format_message( $level => $message ) );
13 }
14  
15 96 1;
16  
17 __END__
« blib/lib/Dancer2/Logger/Diag.pm ↑ Summary blib/lib/Dancer2/Logger/Null.pm »