blib/lib/Log/Emitter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 10 | 70.0 |
line | true | false | branch |
---|---|---|---|
14 | 2 | 2 | unless my $path = (shift())->path |
17 | 0 | 2 | unless open my $file, '>>', $path |
43 | 0 | 9 | unless my $handle = $self->handle |
45 | 0 | 9 | unless $handle->print(_encoding()->encode("$msg")) |
76 | 2 | 9 | unless $self->_now($level) |