line |
true |
false |
branch |
17
|
0 |
4 |
unless defined $logger |
19
|
3 |
1 |
if (ref $opt) { } |
29
|
3 |
1 |
if (&Scalar::Util::blessed($logger)) { } |
|
1 |
0 |
elsif ($logger eq 'Log::Any') { } |
|
0 |
0 |
elsif ($logger eq 'Log::Log4perl') { } |
|
0 |
0 |
elsif ($logger eq 'Log::Contextual' or "$logger"->isa('Log::Contextual')) { } |
30
|
0 |
3 |
if ($logger->isa('Log::Any::Proxy')) { } |
|
0 |
3 |
elsif ($logger->isa('Log::Dispatch')) { } |
|
0 |
3 |
elsif ($logger->isa('Log::Dispatchouli') or $logger->isa('Log::Dispatchouli::Proxy')) { } |
|
3 |
0 |
elsif ($logger->isa('Mojo::Log')) { } |
33
|
0 |
0 |
@msg > 1 ? : |
34
|
0 |
0 |
if $prepend |
40
|
0 |
0 |
@msg > 1 ? : |
41
|
0 |
0 |
if $prepend |
42
|
0 |
0 |
if $level eq 'fatal' |
48
|
0 |
0 |
@msg > 1 ? : |
49
|
0 |
0 |
if $prepend |
50
|
0 |
0 |
if $level eq 'debug' |
54
|
0 |
0 |
if $level eq 'fatal' and $logger->get_muted |
70
|
5 |
5 |
@msg > 1 ? : |
71
|
0 |
10 |
if $prepend |
79
|
0 |
0 |
@msg > 1 ? : |
80
|
0 |
0 |
if $prepend |
90
|
0 |
0 |
@msg > 1 ? : |
91
|
0 |
0 |
if $prepend |