Refine debugLog
This commit is contained in:
@@ -20,6 +20,5 @@ fun initTimber() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun debugLog(tag: String?, message: String?) {
|
fun debugLog(tag: String?, message: String?) {
|
||||||
if (BuildConfig.DEBUG) Timber.tag(tag).d(message)
|
if (BuildConfig.DEBUG) Timber.tag(tag).d(message) else Crashlytics.log("$tag: $message")
|
||||||
Crashlytics.log("$tag: $message")
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user