logback-android alternatives and similar packages
Based on the "Other" category.
Alternatively, view logback-android alternatives based on common mentions on social networks and blogs.
-
Guava: Google Core Libraries for Java
Google core libraries for Java -
ZXing Android-Integration
ZXing ("Zebra Crossing") barcode scanning library for Java, Android -
FileDownloader
Multitask、MultiThread(MultiConnection)、Breakpoint-resume、High-concurrency、Simple to use、Single/NotSingle-process -
AndroidVideoCache
Cache support for any video player with help of single line -
Gradle Retrolambda Plugin
A gradle plugin for getting java lambda support in java 6, 7 and android -
Android Scripting
SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device. -
android-ocr
An experimental app for Android that performs optical character recognition (OCR) on images captured using the device camera. -
AboutLibraries
AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments -
material-camera
One of the most difficult APIs on Android, made easy. -
MasteringAndroidDataBinding
A comprehensive tutorial for Android Data Binding -
Android Priority Job Queue
A Job Queue specifically written for Android to easily schedule jobs (tasks) that run in the background, improving UX and application stability. -
WeakHandler
Memory safer implementation of android.os.Handler -
Tiny Dancer
An android library for displaying fps from the choreographer and percentage of time with two or more frames dropped -
PermissionHelper
Android Library to help you with your runtime Permissions. -
Gradle buildSrcVersions
Life is too short to google for dependencies and versions -
AwesomeValidation
Android validation library which helps developer boil down the tedious work to three easy steps. -
WheelView-Android
Selector with wheel view, applicable to selecting money or other short length values. -
Android-Link-Preview
It makes a preview from an url, grabbing all the information such as title, relevant texts and images. -
PasswordLoadingView
provide a animation when finished the password -
JsonToJava
I was fed up with writing Java classes to mirror json models. So I wrote this Java app to automate the process. -
AndroidPermissions
Android M was added to check Permission. but Permission check processing is so dirty. -
Fragment-Switcher
An instance-state saving fragment switcher, intended for use with navigation drawers or tabs. -
sixpack-java
A Java client for the Sixpack A/B testing framework https://github.com/seatgeek/sixpack -
Easy Rating Dialog
A plug and play ;) android library for displaying a "rate this app" dialog -
AudioPlayerView
AudioPlayerView is an Android view that loads audio from an url and have basic playback tools. -
validation
Fire eye - Android 输入校验库 - A validation library for android -
UserAwareVideoView
A customized video view that will automatically pause video is user is not looking at device screen!!!!! -
Agile Boiler Plate
A boiler plate that can be re-used to start android apps -
andle
andle is an Android tool help you sync dependencies, sdk or build tool version. -
Typography
**DEPRECATED**. Use the native and support library variants instead - https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml.html. An android library that makes it easy to add custom fonts to edittexts and textviews -
Teller
Android library that manages your app's cached data with ease. -
Rx.ContentObservable
Content bindings from RxAndroid v0.25.0. -
Android Support library
The Android Support Library package is a set of code libraries that provide backward-compatible versions of Android framework API. -
Google Play Services
Library to access Google services, such as account syncing, Google+ (sharing, single sign-on), Google Maps, Location APIs, Google Play Games, Cloud Messaging, Android Device Manager, and others.
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of logback-android or a related project?
README
logback-android

Overview
logback-android
is a lite version of logback
that runs on Android. This library provides a highly configurable logging framework for Android apps, supporting multiple log destinations simultaneously:
- files
- SQLite databases
- logcat
- sockets
- syslog
Runs on Android 2.3 (SDK 9) or higher. See Wiki for documentation.
For [email protected]
, see the 1.x
branch.
Quick Start
- Create a new "Basic Activity" app in Android Studio.
In
app/build.gradle
, add the following dependencies:dependencies { implementation 'org.slf4j:slf4j-api:1.7.36' // slf4j 2.x not yet supported implementation 'com.github.tony19:logback-android:2.0.0' }
If using logback-android
in unit tests, either use Robolectric, or use this config instead:
```groovy
dependencies {
implementation 'org.slf4j:slf4j-api:1.7.36' // slf4j 2.x not yet supported
implementation 'com.github.tony19:logback-android:2.0.0'
testImplementation 'ch.qos.logback:logback-classic:1.2.11'
}
configurations.testImplementation {
exclude module: 'logback-android'
}
```
NOTE: SLF4J 2.x is not yet supported.
Create
app/src/main/assets/logback.xml
containing:<configuration xmlns="https://tony19.github.io/logback-android/xml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://tony19.github.io/logback-android/xml https://cdn.jsdelivr.net/gh/tony19/logback-android/logback.xsd" > <appender name="logcat" class="ch.qos.logback.classic.android.LogcatAppender"> <tagEncoder> <pattern>%logger{12}</pattern> </tagEncoder> <encoder> <pattern>[%-20thread] %msg</pattern> </encoder> </appender> <root level="DEBUG"> <appender-ref ref="logcat" /> </root> </configuration>
In
MainActivity.java
, add the following imports:import org.slf4j.Logger; import org.slf4j.LoggerFactory;
...and modify
onOptionsItemSelected()
to log "hello world":@Override public boolean onOptionsItemSelected(MenuItem item) { Logger log = LoggerFactory.getLogger(MainActivity.class); log.info("hello world"); // ... }
Build and start the app.
Open logcat for your device (via the Android Monitor tab in Android Studio).
Click the app menu, and select the menu-option. You should see "hello world" in logcat.
Download
Gradle release
dependencies {
implementation 'org.slf4j:slf4j-api:1.7.36' // slf4j 2.x not yet supported
implementation 'com.github.tony19:logback-android:2.0.0'
}
Gradle snapshot (unstable)
repositories {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
implementation 'org.slf4j:slf4j-api:1.7.36' // slf4j 2.x not yet supported
implementation 'com.github.tony19:logback-android:2.0.1-SNAPSHOT'
}
Build
Use these commands to create the AAR:
git clone git://github.com/tony19/logback-android.git
cd logback-android
scripts/makejar.sh
The file is output to: ./build/logback-android-2.0.0-debug.aar