aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt19
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?) {