Zum Inhalt springen

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.

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.