Debug

interface Debug(source)

A debugger function

Since

0.3.0

Properties

Link copied to clipboard
abstract val path: String?

The path of the debug output

Link copied to clipboard
abstract val pathPrefix: String

The path prefix of the debug output (If we are in a child debug context, this will be added to the front of the path)

Functions

Link copied to clipboard
abstract fun child(vararg name: String): Debug

Create a child debug context

Link copied to clipboard
abstract fun debug(creator: LogMessageCreator)
open fun debug(creator: LogMessageLambda)

Put a message to the debug output (using lazy-generation of the message)

abstract fun debug(message: String)

Put a message to the debug output

abstract fun debug(path: String, creator: LogMessageCreator)
open fun debug(path: String, creator: LogMessageLambda)

Put a message to the debug output (using lazy-generation of the message) (with a sub-path)

abstract fun debug(path: String, message: String)

Put a message to the debug output (with a sub-path)

Link copied to clipboard
open operator fun invoke(creator: LogMessageCreator)
open operator fun invoke(creator: LogMessageLambda)

Put a message to the debug output (using lazy-generation of the message)

open operator fun invoke(message: String)

Put a message to the debug output

open operator fun invoke(path: String, creator: LogMessageCreator)
open operator fun invoke(path: String, creator: LogMessageLambda)

Put a message to the debug output (using lazy-generation of the message) (with a sub-path)

open operator fun invoke(path: String, message: String)

Put a message to the debug output (with a sub-path)