Ir al contenido

Inappropriate Log Level (ARCH8161)

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

Key kotlin.logging.inappropriate-log-level · Severity info · Category logging

Flags failures logged at info / debug inside catch blocks, and routine flow logged at error.

catch (e: Exception) { log.info("failed", e) }
catch (e: Exception) { log.error("failed", e) }

Log failures at warn / error; keep info for state changes and debug for diagnostics.