blib/lib/OrePAN2/Logger.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 2 totaltotal 81.8% 9 / 11 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
info
1.0
warn
1.0
CRAP 1.0
« blib/lib/OrePAN2/CLI/Indexer.pm ↑ Summary script/orepan2-merge-index »
1 package OrePAN2::Logger;
2  
3 22 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # trace
6 # debug
7 # info (inform)
8 3 ▶sub info { print STDERR "[INFO] $_[1]\n" }
Subroutine info: called CC=1 SCAR=0.0
Pod undocumented
9  
10 # notice
11 # warning (warn)
12 1 ▶sub warn { print STDERR "[WARN] $_[1]\n" }
Subroutine warn: called CC=1 SCAR=0.0
Pod undocumented
13  
14 # error (err)
15 # critical (crit, fatal)
16 # alert
17 # emergency
18  
19 22 1;
« blib/lib/OrePAN2/CLI/Indexer.pm ↑ Summary script/orepan2-merge-index »