Reduce garbage logs

This commit is contained in:
Mygod
2018-12-29 23:11:09 +08:00
parent 5c935348e7
commit ddd3bfab2f
4 changed files with 9 additions and 8 deletions

View File

@@ -22,3 +22,5 @@ fun initTimber() {
fun debugLog(tag: String?, message: String?) {
if (BuildConfig.DEBUG) Timber.tag(tag).d(message) else Crashlytics.log("$tag: $message")
}
fun timberSetString(key: String, value: String?) = Crashlytics.setString(key, value)