Subject: | The is_xxx methods should return a value |
The Null adapter's is_xxx methods consist of sub {} which isn't the
boolean return that could be expected. Consider someone trying to make a
list of the is_xxx flags:
@a = map { $logany->$_ } qw( is_debug is_inform is_warn );
That list ends up empty with the current code.
I suggest the the default is_xxx method body should return a scalar false
value -- undef, 0, or ''