There is a valid use case for using the if (log.isXEnabled) { ... } construct aside from parameterized log messages. I would recommend a one-time code cleanup and removing this rule. We could leverage another check for detecting non-parameterized log messages; for example, one that looks for "+" characters indicating string concatenation.