line |
true |
false |
branch |
30
|
0 |
29 |
if $handler |
35
|
18 |
11 |
if $path |
39
|
6 |
23 |
if ($is_dir) { } |
|
3 |
20 |
elsif ($path_level) { } |
41
|
0 |
6 |
if $path =~ m[/$] |
54
|
0 |
9 |
unless $handler = 'Mojo::File'->new($file)->open('>>') |
65
|
0 |
29 |
unless $handle ||= $self->handle |
67
|
0 |
29 |
unless $handle->print(encode('UTF-8', $msg)) |
76
|
17 |
3 |
$LEVEL{$level} ? : |
|
20 |
9 |
if $level //= '' |
80
|
29 |
87 |
length $_ == 1 ? : |
91
|
26 |
0 |
if @call |
105
|
0 |
29 |
unless not $LEVEL{$level} or $self->is_level($level) |
110
|
26 |
3 |
if $self->trace |
112
|
26 |
0 |
$trace->[0] eq 'main' ? : |
|
26 |
3 |
if $trace and @$trace |
117
|
9 |
20 |
if (my $handle = $self->handler($level)) |
130
|
0 |
6 |
unless &Scalar::Util::blessed($self) and $self->isa('Mojo::Log::Che') |