CSAF/Util/Log.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package CSAF::Util::Log;
2  
3 use 5.010001;
4 use strict;
5 use warnings;
6 use utf8;
7  
8 use Moo::Role;
9 use Log::Any;
10  
11 has log => (
12 is => 'ro',
13 default => sub { Log::Any->get_logger(filter => \&CSAF::Util::log_formatter, category => (caller(0))[0]) }
14 );
15  
16 1;
17 __END__