Hi everyone,
I’m working on TRUNK-5437 which is created to update some old classes to use parameterized logging.
On OpenMRS Wiki there is an example of how to log and how to not. The thing which confuses me is that in ‘good’ case there is no if statement:
log.debug(The entry is {}., entry);
So the question is, do we still need an if statement when we use parameterized logging? Or does parameterizing automatically mean that debugger is enabled?