lib/Dancer2/Logger/Console.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod 100% 1 / 1 totaltotal 100% 11 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
log
1.0
CRAP 1.0
« lib/Dancer2/Core/Role/StandardResponses.pm ↑ Summary script/dancer2 »
1 package Dancer2::Logger::Console;
2 # ABSTRACT: Console logger
3 17 $Dancer2::Logger::Console::VERSION = '2.3.0';
4 17 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 5 with 'Dancer2::Core::Role::Logger';
7  
8 24 ▶sub log {
Subroutine log: called CC=1 SCAR=0.0
Pod documented
9 36 my ( $self, $level, $message ) = @_;
10 36 print STDERR $self->format_message( $level => $message );
11 }
12  
13 5 1;
14  
15 __END__
« lib/Dancer2/Core/Role/StandardResponses.pm ↑ Summary script/dancer2 »