Location-aware logging and more

* Implement location-aware logging by overriding all logging
methods and calling the delegate explicitly with the FQCN.
* Add Kotlin lambda versions of all methods with Supplier
params.
* Fix up trace extension, now called runInTrace. Location-aware
logging still does not work for this extension -- see comments
in code.
4 files changed
tree: 97426c67a159e275c5668829f5302b8203fd41c2
  1. .gitignore
  2. LICENSE.txt
  3. NOTICE.txt
  4. README.md
  5. log4j-api-kotlin-sample/
  6. log4j-api-kotlin/
  7. pom.xml
README.md

Apache Log4j 2 Kotlin API

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.

Status

This is work in progress to integrate Kotlin into log4j2 as a module. See issue https://issues.apache.org/jira/browse/LOG4J2-1705 for tracking information.