Slide 115
Slide 115 text
࣋ଓతͳΞϓϦ։ൃͷͨΊͷDXΛࢧ͑Δٕज़
ϩΪϯάͷઃܭ: Log collection architecture
class CrashlyticsTree : Timber.Tree() {
override fun log(priority: Int, tag: String?, message: String, throwable: Throwable?) {
when (priority) {
Log.INFO "-> Crashlytics.log(priority, tag, message)
Log.WARN "-> Crashlytics.log(priority, tag, message)
Log.ERROR "-> {
Crashlytics.log(priority, tag, message)
throwable"?.let {
Crashlytics.logException(it)
}
}
}
}
}
DroidKaigi 2020