aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-03 18:40:14 -0400
committerGitHub <noreply@github.com>2017-07-03 18:40:14 -0400
commit8edd98fcee1506177e61ebeb31af35c7f3fb48c8 (patch)
treefe264b22f3c57e8888a372ab0ab1fbf2b0496e76 /app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
parent01250f93826b24bd53b46426999e9cdea17fecd8 (diff)
downloadfrost-8edd98fcee1506177e61ebeb31af35c7f3fb48c8.tar.gz
frost-8edd98fcee1506177e61ebeb31af35c7f3fb48c8.tar.bz2
frost-8edd98fcee1506177e61ebeb31af35c7f3fb48c8.zip
Dev (#13)
* Allow file access * Log all to phone * Rework billing logic
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.kt5
1 files changed, 1 insertions, 4 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 86731357..16a3d2ae 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
@@ -34,10 +34,7 @@ internal class CrashReportingTree : Timber.Tree() {
Log.DEBUG -> if (!Prefs.verboseLogging) return
}
if (message != null)
- if (priority == Log.ERROR)
- Crashlytics.log(Log.ERROR, "Frost", message)
- else
- Crashlytics.log(message)
+ Crashlytics.log(priority, "Frost", message)
if (t != null) Crashlytics.logException(t)
}
} \ No newline at end of file