FloggerLogString
Arguments to log(String) must be compile-time constants or parameters annotated with @CompileTimeConstant. If possible, use Flogger's formatting log methods instead.

Severity
ERROR

The problem

Only compile-time constants may be passed to log(String); use one of the formatting log methods with a constant format string if at all possible.

Some common fixes include:

If none of these work, the easiest workaround is to use "%s" as a format string, i.e. replace log(expr) with log("%s", expr).

Suppression

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