From 3ed1e1a96511a00517512addf6757517f3353c95 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 10 Jan 2021 18:12:44 -0800 Subject: Remove analytic content --- app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils') 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?) { -- cgit v1.2.3