mulab / android-log

android log library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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);
}

About

android log library

License:MIT License


Languages

Language:XSLT 56.0%Language:Java 44.0%