RFR: 8024525 - Make Logger log methods call isLoggable()
daniel.fuchs at oracle.com
Wed Sep 11 17:59:55 UTC 2013
Please find below a changeset for a small logging RFE:
8024525 - Make Logger log methods call isLoggable()
This change makes the various Logger logging method call isLoggable()
instead of simply inlining the checks.
This should make the life easier for subclasses of Logger which
want to control when messages should be logged.
The test is a bit obscure but it calls all the methods
that have been modified and checks that they log when isLoggable()
is true and don't log when isLoggable() is false.
More information about the core-libs-dev