Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions src/site/antora/modules/ROOT/pages/faq.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,27 @@ xref:manual/installation.adoc#impl-logback[Log4j API-to-SLF4J]
bridges are tested for compatibility with Android.

[#android-native]
Log4j API-to-Android logging API bridge::
Bridge Log4j to Android's native Logcat::
+
If you wish to bridge Log4j API to
https://developer.android.com/reference/android/util/Log[Android's native logging API]
directly, you can use the **third-party** `com.celeral:log4j2-android` artifact.
See the
https://github.com/Celeral/log4j2-android[`log4j2-android` project website]
for more information.
for more information.

[#android-log4j2]
Android Log4J2::
+
A full integration with Android which provides a Logcat appender while keeping other features like Console appender and loglevel control.
+
Features:
+
* Seamless integration of Log4J over SLF4J into your Android application
* File-based configuration of logging for fine control - just like in proper Java
* Separate configurations for Debug, Release, JUnit tests, and Android tests
* Extension for JUnit 5
* Rule for JUnit 4

+
See GitHub repo https://github.com/neboskreb/android-log4j2[`android-log4j2`]