Planted a debug tree with Timber

This commit is contained in:
Arty Bishop committed 2021-02-26 18:19:01 +00:00
1 parent 0c961005fc
commit 124def913a
1 file changed
+9 -1
@@ -21,6 +21,14 @@ package com.rtbishop.look4sat
import android.app.Application
import dagger.hilt.android.HiltAndroidApp
import timber.log.Timber
@HiltAndroidApp
class Look4SatApp : Application()
class Look4SatApp : Application() {
override fun onCreate() {
super.onCreate()
if (BuildConfig.DEBUG) {
Timber.plant(Timber.DebugTree())
}
}
}