info

expect open fun info(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.INFO.

Each argument is expected to be a string. For automatic string conversion or direct log level control, see log. To engage in string formatting, or callable log messages, see other variants of this same method.

Parameters

message

Set of messages to log in this entry.

See also

other variants of this method.


expect open fun info(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.INFO, assuming info-level logging is currently enabled.

If info logging is not active, the producer will not be dispatched.

Parameters

producer

Function that produces the message to log.

actual open fun info(vararg message: Any)

Log one or more arbitrary messages to the console or log, at the level of LogLevel.INFO.

Each argument is expected to be a string. For automatic string conversion or direct log level control, see log. To engage in string formatting, or callable log messages, see other variants of this same method.

Parameters

message

Set of messages to log in this entry.

See also

other variants of this method.


actual open fun info(producer: () -> String)

Log the message produced by the provided producer, at the level of LogLevel.INFO, assuming info-level logging is currently enabled.

If info logging is not active, the producer will not be dispatched.

Parameters

producer

Function that produces the message to log.