aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/Application.kt
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-04-21 13:30:42 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-04-21 15:55:26 +0530
commit500ab609737c9f297962ed6a1cd935a27f39517d (patch)
tree56e93788cbc350b3f3bcaf27686ddb25c1faa7d1 /app/src/main/java/com/zeapo/pwdstore/Application.kt
parent72166c6912ea596e5087e553c64bfc5dd9ed3742 (diff)
downloadHardenedPass-500ab609737c9f297962ed6a1cd935a27f39517d.tar.gz
HardenedPass-500ab609737c9f297962ed6a1cd935a27f39517d.zip
treewide: switch to logging via timberkt
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/Application.kt')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/Application.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/Application.kt b/app/src/main/java/com/zeapo/pwdstore/Application.kt
index b476dd45..166d2b3a 100644
--- a/app/src/main/java/com/zeapo/pwdstore/Application.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/Application.kt
@@ -11,8 +11,9 @@ import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM
import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_NO
import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES
import androidx.preference.PreferenceManager
+import com.github.ajalt.timberkt.Timber.DebugTree
+import com.github.ajalt.timberkt.Timber.plant
import com.haroldadmin.whatthestack.WhatTheStack
-import timber.log.Timber
@Suppress("Unused")
class Application : android.app.Application(), SharedPreferences.OnSharedPreferenceChangeListener {
@@ -20,7 +21,7 @@ class Application : android.app.Application(), SharedPreferences.OnSharedPrefere
override fun onCreate() {
super.onCreate()
- Timber.plant(Timber.DebugTree())
+ plant(DebugTree())
if (BuildConfig.ENABLE_DEBUG_FEATURES) {
WhatTheStack(this).init()
}