ISupportAnalytics

Contract for analytics or crash reporting

Since

v1.0.X

Functions

Link copied to clipboard

Clears any set parameters used for logging

Link copied to clipboard
abstract fun log(priority: Int = Log.WARN, tag: String?, message: String)

Handles logging of an analytic service with the priority defaulted to Log.WARN

Link copied to clipboard
abstract fun logCurrentState(tag: String, bundle: Bundle?)

Handles logging the current state of a visited screen using an explicit bundle

Link copied to clipboard
abstract fun logException(throwable: Throwable)

Handles logging of exceptions to an analytic service

Link copied to clipboard
abstract fun setCrashAnalyticIdentifier(identifier: String)

Set unique identifier for crashlytics, this could be a device model associated with a user name or some other identifier