Ir al contenido

Duplicate Log Message (ARCH8162)

Esta página aún no está disponible en tu idioma.

Key kotlin.logging.duplicate-log-message · Severity info · Category logging

Flags the same log message literal used more than once in a file - the log line no longer says where it came from. For android.util.Log the message is the second argument; the tag is not a message.

log.info("processing")
...
log.info("processing")
log.info("processing order {}", id)
...
log.info("processing refund {}", id)

Make each message distinct and carry the identifying values.