lib / tv.spotx.smartclientandroid.lib.utils / LogCache

LogCache

object LogCache

Is used to cache all log messages and provide them to presenters.

Properties

listener

val listener: ArrayList<(List<String>) -> Unit>

logLevel

var logLevel: LogLevel

Functions

addMsg

fun addMsg(level: LogLevel, msg: String, timestamp: Long = System.currentTimeMillis()): Unit

getMessagesFormatted

fun getMessagesFormatted(): List<String>