Refine code style
This commit is contained in:
@@ -61,6 +61,7 @@ class App : Application() {
|
||||
}
|
||||
}
|
||||
Timber.plant(object : Timber.DebugTree() {
|
||||
@SuppressLint("LogNotTimber")
|
||||
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
|
||||
if (t == null) {
|
||||
if (priority != Log.DEBUG || BuildConfig.DEBUG) Log.println(priority, tag, message)
|
||||
|
||||
Reference in New Issue
Block a user