Warning

class Warning(val logWarn: (tag: String, message: String) -> Unit) : StackValidationMode(source)

Represents the warning stack validation mode. In this mode, the stack is always kept in a valid state. A warning is logged if the stack transitions to an invalid state.

Constructors

Link copied to clipboard
constructor(logWarn: (tag: String, message: String) -> Unit)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val logWarn: (tag: String, message: String) -> Unit

A function that logs a warning message.