log level filtering: add feature
log level filtering: add feature: a task in smol-software-harbor (Harbor dataset). Add LogFilter::summary(@lines) to lib/LogFilter.pm : it returns a string like ERROR=2 WARN=1 INFO=3 , counting the lines of each known level, from the most to the least severe level, leaving out levels that do not…
The task
Add `LogFilter::summary(@lines)` to `lib/LogFilter.pm`: it returns a string like `ERROR=2 WARN=1 INFO=3`, counting the lines of each known level, from the most to the least severe level, leaving out levels that do not occur (and returning an empty string when there are none). Run `prove -Ilib t/`.
Part of efederici/smol-software-harbor.