LoggerCallback

interface LoggerCallback

This interface provides a way implement alternative logging. By default EventLogger writes all messages to logcat. If another method of logging is preferred, a class implementing this interface can be registered with either EventLogger or EventLogger and all log messages will be sent to that class.

Functions

Link copied to clipboard
abstract fun logError(message: String, throwable: Throwable)
Called when an error should be logged.
Link copied to clipboard
abstract fun logMessage(message: String)
Called when a message should be logged.