Companion

object Companion

Functions

Link copied to clipboard
fun debug(msg: () -> Any?): MonitorAction

Creates a MonitorAction that logs the message at DEBUG level and returns true.

Link copied to clipboard
fun error(msg: () -> Any?): MonitorAction

Creates a MonitorAction that logs the message at ERROR level and returns true.

Link copied to clipboard
fun info(msg: () -> Any?): MonitorAction

Creates a MonitorAction that logs the message at INFO level and returns true.

Link copied to clipboard
fun warn(msg: () -> Any?): MonitorAction

Creates a MonitorAction that logs the message at WARN level and returns true.