blib/lib/Log/LTSV/Instance.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 15 | 20 | 75.0 |
line | true | false | branch |
---|---|---|---|
26 | 0 | 14 | unless $level |
29 | 13 | 1 | if ($args{'logger'}) { } |
0 | 1 | elsif (not defined $args{'logfile'}) { } | |
38 | 0 | 1 | $args{'maxage'} ? : |
0 | 1 | $args{'linkname'} ? : | |
0 | 1 | $args{'rotationtime'} ? : | |
87 | 1 | 11 | if $LOG_LEVEL_MAP{$level} < $self->{'level'} |
89 | 1 | 10 | if (ref $args[0] eq 'HASH') { } |
2 | 16 | elsif (scalar @args == 1 and ref $args[0] eq '') { } | |
102 | 2 | 1 | if ref $value |