debug

fun <T> T.debug(prefix: String = ""): T

Use this T to log a message with a prefix using DEBUG level.

com.hexagontk.core.logger must have the DEBUG level enabled.

Receiver

Object which string representation will be logged.

Return

The receiver reference for chaining methods.

Parameters

prefix

Prefix for the logging message.

Type Parameters

T

Type of the logged object.


fun System.Logger.debug(message: () -> Any?)

Log a message using DEBUG level.

Parameters

message

The required message to log.