line |
true |
false |
branch |
22
|
3 |
12 |
if (defined $self->{'text'}) |
26
|
3 |
12 |
if (defined $self->{'structured'}) |
32
|
0 |
15 |
unless ($to and ref $to eq 'CODE' || ref $to eq 'ARRAY') |
38
|
3 |
12 |
if ($format eq 'text') { } |
|
6 |
6 |
elsif ($format eq 'messages') { } |
|
6 |
0 |
elsif ($format eq 'structured') { } |
41
|
0 |
3 |
ref $to eq 'CODE' ? : |
44
|
3 |
3 |
ref $to eq 'CODE' ? : |
47
|
0 |
6 |
ref $to eq 'CODE' ? : |
55
|
6 |
0 |
unless $self->can("structured") |
62
|
3 |
12 |
if (defined $self->{'log_level'} and $self->{'log_level'} =~ /\D/) |
64
|
0 |
3 |
unless (defined $numeric_level) |
79
|
0 |
7 |
if defined $self->{'log_level'} and $method_level > $self->{'log_level'} |
99
|
0 |
4 |
if defined $self->{'log_level'} and Log::Any::Adapter::Util::numeric_level($method) > $self->{'log_level'} |