aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-03 22:50:52 -0700
committerAllan Wang <me@allanwang.ca>2017-06-03 22:50:52 -0700
commit300690cbba810d9270100f34d3372356127ecc93 (patch)
treea2f631ebb110e627fa0ec42bdee64dd9d1cb4657 /app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
parent23d0e789c71ace6a11206a0d6176bd8318185694 (diff)
downloadfrost-300690cbba810d9270100f34d3372356127ecc93.tar.gz
frost-300690cbba810d9270100f34d3372356127ecc93.tar.bz2
frost-300690cbba810d9270100f34d3372356127ecc93.zip
Add slack and finalize crashlytics
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.kt7
1 files changed, 2 insertions, 5 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 63fbaffb..3d5cf1cb 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
@@ -20,10 +20,7 @@ internal class CrashReportingTree : Timber.Tree() {
override fun log(priority: Int, tag: String?, message: String?, t: Throwable?) {
if (priority == Log.VERBOSE || priority == Log.DEBUG)
return
- if (message != null) {
- Log.println(priority, tag ?: "Frost", message)
-// Crashlytics.log(priority, tag ?: "Frost", message)
- }
-// if (t != null) Crashlytics.logException(t)
+ if (message != null) Crashlytics.log(priority, tag ?: "Frost", message)
+ if (t != null) Crashlytics.logException(t)
}
} \ No newline at end of file