module WithLogger
extend Logger::Root(...)
class Base
extend Logger::Hierarchy
end
end
module NoLogger
class Derived < Base
extend Logger::Hierarchy
end
end
was not considering Base's logger, which is really unexpected. It would
instead go directly to WithLogging's logger.
The following setup
was not considering Base's logger, which is really unexpected. It would instead go directly to WithLogging's logger.
This commit adds Base in the search order.