Package com.google.errorprone.bugpatterns.flogger
package com.google.errorprone.bugpatterns.flogger
-
ClassesClassDescriptionA
BugChecker; see the associatedBugPatternannotation for details.Detects invocations ofLoggingApi.log(String)for which the argument is not a compile-time constant and provides suggested alternatives.Flags cases where there is an exception available that could be set as the cause in a log message.Checks for usages ofperwithout a corresponding call toatMostEvery,every, oronAverageEveryin the same logging chain.Ensures that class-level FluentLogger objects are private static final.Bugpattern to prevent splitting flogger log invocations into multiple statements.ABugChecker; see the associatedBugPatternannotation for details.Flogger's withCause(Throwable) method checksDetects Flogger log statements that pass Exceptions to the log method instead of using withCause.