added LogService
This commit is contained in:
parent
d9733bedee
commit
f45c7ce6e3
1 changed files with 14 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
||||||
|
package be.ugent.sel.studeez.domain.implementation
|
||||||
|
|
||||||
|
import be.ugent.sel.studeez.domain.LogService
|
||||||
|
import com.google.firebase.crashlytics.ktx.crashlytics
|
||||||
|
import com.google.firebase.ktx.Firebase
|
||||||
|
import javax.inject.Inject
|
||||||
|
|
||||||
|
class LogServiceImpl @Inject constructor() : LogService {
|
||||||
|
override fun logNonFatalCrash(throwable: Throwable) {
|
||||||
|
Firebase.crashlytics.recordException(throwable)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Reference in a new issue