mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Planted a debug tree with Timber
This commit is contained in:
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())
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user