uniflow-core / io.uniflow.core.logger / UniFlowLogger

UniFlowLogger

object UniFlowLogger : Logger

Event Logger

Author
Arnaud Giuliani

Properties

FUN_TAG

const val FUN_TAG: String

logger

var logger: Logger

TAG

const val TAG: String

Functions

debug

fun debug(message: String): Unit

default

fun default(): Unit

Set the default Logger as the UniFlow event logger.

empty

fun empty(): Unit

Set an EmptyLogger as the UniFlow event logger.

init

fun init(logger: Logger): Unit

Set a Logger as the UniFlow event logger. Reset this using default.

log

fun log(message: String): Unit

logError

fun logError(errorMessage: String, error: Exception?): Unit

logEvent

fun logEvent(event: UIEvent): Unit

logState

fun logState(state: UIState): Unit