apidocs / com.nimmsta.core.android.platform / IErrorHandler

IErrorHandler

interface IErrorHandler

Interface that needs to be implemented by Apps to perform error logging

Functions

log

Adds message to log

abstract fun log(tag: String, msg: String): Unit

logException

Logs an Exception

abstract fun logException(t: Throwable): Unit

setBool

Sets a Bool that contains more information about the running app In Crashlytics this Bool is added to all crashes

abstract fun setBool(key: String, value: Boolean): Unit

setInt

Sets a Int that contains more information about the running app In Crashlytics this Int is added to all crashes

abstract fun setInt(key: String, value: Int): Unit

setString

Sets a String that contains more information about the running app In Crashlytics this String is added to all crashes

abstract fun setString(key: String, value: String): Unit