Inappropriate Log Level (ARCH8161)
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
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.
Incorrect
Section titled “Incorrect”catch (e: Exception) { log.info("failed", e) }Correct
Section titled “Correct”catch (e: Exception) { log.error("failed", e) }Log failures at warn / error; keep info for state changes and debug for diagnostics.