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. log4j-api-kotlin/
  2. log4j-api-kotlin-sample/
  3. .gitignore
  4. LICENSE.txt
  5. NOTICE.txt
  6. pom.xml
  7. README.md
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.