Appx - LazyLogger

General

Category
Free
Tag
Logging
License
N/A
Min SDK
16 (Android 4.1 Jelly Bean)
Registered
Jan 25, 2019
Favorites
0
Link
https://github.com/beanman90/Appx-LazyLogger
See also
Android Investigator
SLF4J
Herald
Log Filter
ArrowLogger

Additional

Language
Java
Version
1.0.0 (Jan 25, 2019)
Created
Jan 25, 2019
Updated
Jan 25, 2019
Owner
BeanMan (beanman90)
Contributor
BeanMan (beanman90)
1
Activity
Badge
Generate
Download
Source code

Show card

Appx - LazyLogger

Lazy Logger is open source for lazy android app developer, supports Release/Debug stage. Based-on Timber https://github.com/JakeWharton/timber.

Read more document here

Jitpack URL: https://jitpack.io/#beanman90/Appx-LazyLogger

Getting Started

In your project build.gradle

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

In your build.gradle

dependencies {
    releaseImplementation 'com.github.beanman90.Appx-LazyLogger:lazylogger-noop:1.0.0'
    debugImplementation 'com.github.beanman90.Appx-LazyLogger:lazylogger:1.0.0'
}
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        LazyLogger.plant(new LazyLogger.DebugTree());
        LazyLogger.i("Hello Lazy Logger");
    }
}

If your app on RELEASE, log messages will not be generated in logcat