diff options
author | Allan Wang <me@allanwang.ca> | 2021-01-10 18:12:44 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2021-01-10 18:12:44 -0800 |
commit | 3ed1e1a96511a00517512addf6757517f3353c95 (patch) | |
tree | 0777f0c0bc9d59c151c3ed62745d93d493ba015c /app/src/main/kotlin/com/pitchedapps/frost/utils | |
parent | 69a6d5742b1c7ad43e174d7f28027185e084d451 (diff) | |
download | frost-3ed1e1a96511a00517512addf6757517f3353c95.tar.gz frost-3ed1e1a96511a00517512addf6757517f3353c95.tar.bz2 frost-3ed1e1a96511a00517512addf6757517f3353c95.zip |
Remove analytic content
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt index 67d2f55a..e455aace 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt @@ -51,25 +51,6 @@ object L : KauLogger("Frost") { } } - var hasAnalytics: () -> Boolean = { false } - - override fun logImpl(priority: Int, message: String?, t: Throwable?) { - /* - * Debug flag is constant and should help with optimization - * bugsnagInit is changed per application and helps prevent crashes (if calling pre init) - * analytics is changed by the user, and may be toggled throughout the app - */ - if (BuildConfig.DEBUG || !hasAnalytics()) { - super.logImpl(priority, message, t) - } else { -// if (message != null) { -// Bugsnag.leaveBreadcrumb(message) -// } -// if (t != null) { -// Bugsnag.notify(t) -// } - } - } } fun KauLoggerExtension.test(message: () -> Any?) { |