trace

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

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

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

Receiver

Object which string representation will be logged.

Return

The receiver reference for chaining methods.

Parameters

T

Type of the logged object.

prefix

Prefix for the logging message.


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

Log a message using TRACE level.

Parameters

message

The required message to log.