Apache log4j logo Apache logging services logo

Apache Log4j Kotlin API

Log4j Kotlin API is a Kotlin logging facade based on Log4j 2.

Log4j Kotlin API uses Log4j 2.x as its logging backend.

Log4j Kotlin API uses Log4j 2.x as its logging backend by default, but this can also be replaced with compatible libraries (e.g., Logback).

While this library is not required to use Log4j API in Kotlin, it does provide idiomatic Kotlin APIs which are friendlier to use in Kotlin programs than the Java APIs.