Author:林建有
Date: 2021/7/1
//提供了各个LogLevel方法 ,简化了需要传入TAG的麻烦,还可以自动打印出log调用的行号和线程名称
//原生API:Log.e(TAG,"log something"); 不会打印方法调用的名称和行号还有线程名称
MyLog.i("log something");
MyLog.d("log something");
MyLog.e("log something");
MyLog.printCallerStackTrace();//默认是error level
MyLog.printCallerStackTrace(level: String = "e")
注:库里还包含了MVP架构
implementation "com.github.linjonh:mvp-arch-android:1.0.4"