Logger is a library for Android Apps. It helps with ton of work such as debugging your app before releases.
import logger.bayramoff.com.Logger;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
//To define default log tag
Logger.init("MY_LOG");
//Default value is true. If false library ignore log method
Logger.debug(true);
//Log the message
Logger.log("app starts");
}
To get a Git project into your build:
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.shamxalb:LoggerLibrary:0.1.0'
}
Feel free to use.