blib/lib/Log/Any/Adapter/ScreenColoredLevel.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 16 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
24 | 0 | 0 | 0 | $ENV{'LOG_LEVEL'} and $logging_levels{$ENV{'LOG_LEVEL'}} |
66 | 0 | 0 | 0 | $$self{'use_color'} and $$self{'colors'}{$method} |
line | l | !l | condition |
---|---|---|---|
35 | 0 | 0 | $$self{'stderr'} //= 1 |
37 | 0 | 0 | $$self{'colors'} //= {'trace', 'yellow', 'debug', '', 'info', 'green', 'notice', 'green', 'warning', 'bold blue', 'error', 'magenta', 'critical', 'red', 'alert', 'red', 'emergency', 'red'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
36 | 0 | 0 | 0 | $$self{'use_color'} //= -t STDOUT |
48 | 0 | 0 | 0 | $$self{'min_level'} //= _default_level() |