Subject: | Documentation has log.category for configuration but Poet::Log uses log.class |
The documentation for Poet::Log and Poet::Manual::Configuring both uses
a configuration example of the form
log:
defaults:
level: info
output: poet.log
layout: "%d{dd/MMM/yyyy:HH:mm:ss.SS} [%p] %c - %m - %F:%L - %P%n"
category:
CHI:
level: debug
output: chi.log
layout: "%d{dd/MMM/yyyy:HH:mm:ss.SS} %m - %P%n"
MyApp::Foo:
output: stdout
However, the code for Poet::Log does not look for 'category' but instead
for 'class':
my %classes = %{ $log_config{'class'} || {} };
One or the other should change; my proposal would be the documentation
so as to not break existing code.