Skip to content

Satellite tracker and pass predictor for Android, inspired by Gpredict

Planted a debug tree with Timber

Arty Bishop124def913a3b
diff --git a/app/src/main/java/com/rtbishop/look4sat/Look4SatApp.kt b/app/src/main/java/com/rtbishop/look4sat/Look4SatApp.kt
index ef4906c7..90bac899 100644
--- a/app/src/main/java/com/rtbishop/look4sat/Look4SatApp.kt
+++ b/app/src/main/java/com/rtbishop/look4sat/Look4SatApp.kt
@@ -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()
\ No newline at end of file
+class Look4SatApp : Application() {
+ override fun onCreate() {
+ super.onCreate()
+ if (BuildConfig.DEBUG) {
+ Timber.plant(Timber.DebugTree())
+ }
+ }
+}
\ No newline at end of file