blib/lib/Log/Minimal/Object.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 17 | 88.2 |
line | l | !l | condition |
---|---|---|---|
20 | 1 | 6 | $args{'color'} || 0 |
1 | 6 | $args{'die'} || sub { package Log::Minimal; my($time, $type, $message, $trace, $raw_message) = @_; die "$time [$type] $message at $trace\n"; } | |
1 | 6 | $args{'print'} || sub { package Log::Minimal; my($time, $type, $message, $trace, $raw_message) = @_; warn "$time [$type] $message at $trace\n"; } | |
1 | 6 | $args{'autodump'} || 0 | |
1 | 6 | $args{'trace_level'} || 2 | |
1 | 6 | $args{'log_level'} || 'DEBUG' | |
1 | 6 | $args{'escape_whitespace'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
55 | 0 | 19 | 0 | $$self{$meth} ||= 'Log::Minimal'->can($meth) |