Apache Log4j Kotlin

Clone this repo:
  1. 3b469a4 Fix build badge link by Matt Sicker · 11 months ago master
  2. 0da0145 Update log4j2 version in readme by Matt Sicker · 11 months ago
  3. 2bb8ee4 Merge pull request #9 from Xantier/patch-1 by Matt Sicker · 11 months ago
  4. 71d09ec Update README.md by Jussi Hallila · 11 months ago
  5. 3dba66a Fix typo by Matt Sicker · 12 months ago

Apache Log4j 2 Kotlin API

Log4j Kotlin API is a Kotlin logging facade based on Log4j 2. Log4j Kotlin API provides Log4j 2 as its default logging implementation, but this is not strictly required (e.g., this API can also be used with Logback or other Log4j 2 API provider implementations). Idiomatic Kotlin features are provided as an alternative to using the Log4j 2 Java API.

Build Status

Usage

Gradle users can add the following dependencies to their build.gradle file:

TODO

compile "org.apache.logging.log4j:log4j-api-kotlin:1.0.0"
compile "org.apache.logging.log4j:log4j-api:2.11.1"
compile "org.apache.logging.log4j:log4j-core:2.11.1"

Documentation

TODO

Requirements

Log4j Kotlin API requires at least Java 7. This also requires Log4j 2 API, but it is specified as transitive dependencies automatically if you are using SBT, Maven, Gradle, or some other similar build system. This also requires Log4j 2 Core (or possibly an other implementation of Log4j 2 API) as a runtime dependency. Some Log4j 2 Core features require optional dependencies which are documented in the Log4j 2 manual.

License

Apache Log4j 2 is distributed under the Apache License, version 2.0.

Download

How to download Log4j, and how to use it from SBT, Maven, Ivy and Gradle.

Issue Tracking

Issues, bugs, and feature requests should be submitted to the JIRA issue tracking system for this project.

Pull request on GitHub are welcome, but please open a ticket in the JIRA issue tracker first, and mention the JIRA issue in the Pull Request.

Building From Source

Log4j Kotlin API requires Maven 3 and Java 8 to build. To install to your local Maven repository, execute the following:

mvn install

Contributing

We love contributions! Take a look at our contributing page.