Subject: | Proxy fails to suppress level => 'debug' messages |
When logging to a Log::Dispatchouli::Proxy object, there's a significant
difference between
$log->log_debug('message');
and
$log->log({level => 'debug'}, 'message');
The first will be suppressed if the proxy is not in debug mode, but the
second will not. That appears to be because the check is done in log_debug.
The log method should also check for debug-level messages and suppress
them if not in debug mode.