FloggerStringConcatenation
Prefer string formatting using printf placeholders (e.g. %s) instead of string concatenation

Severity
WARNING

The problem

Prefer string formatting to concatenating format arguments together, to avoid work at the log site.

That is, prefer this:

logger.atInfo().log("processing: %s", request);

to this, which calls request.toString() even if INFO logging is disabled:

logger.atInfo().log("processing: " + request);

More information: https://google.github.io/flogger/formatting

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("FloggerStringConcatenation") to the enclosing element.