Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 483 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 483 Bytes

android-log

Android log library for debugging. It's a wrapper of android.util.Log, and will write logs into logfile, and can be send directly via other applications.

Usage

In your gradle build file add dependency:

repositories {
    // ...
    maven { url "https://jitpack.io" }
 }
dependencies {
    compile 'com.github.mulab:android-log:1.0.1'
}

Add Log.init(this) in your Application's onCreate method:

if (BuildConfig.DEBUG) {
  Log.init(this);
}