info

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

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

com.hexagontk.core.logger must have the INFO 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.info(message: () -> Any?)

Log a message using INFO level.

Parameters

message

The required message to log.