Subject: | Wrong assert in log_config method |
This condition is wrong:
if (ref $self) {
die "Calling log_config after the log object has already been
created" if @_ && defined
$self->{__LOG};
$log_config = $self->{__LOG_CONFIG} ||= {};
} else {
should be:
if (ref $self) {
die "Calling log_config after the log object has already been
created" if @_ && defined
$self->{__LOG_CONFIG};
$log_config = $self->{__LOG_CONFIG} ||= {};
} else {
Change the hash key from __LOG to __LOG_CONFIG