info

inline fun info(tag: String = INFO, message: () -> String)

Logs a message on the info level.

Parameters

tag

will proceed the message. Defaults to "INFO".

message

inlined lambda which will be evaluated only if info logs are currently on. The string result of this function will be created ONLY when needed, reducing the impact of creating new strings at runtime.

See also

Application.LOG_INFO
Application.getLogLevel

inline fun info(cause: Throwable, tag: String = INFO, message: () -> String)

Logs a message on the info level.

Parameters

cause

its stack trace will be printed.

tag

will proceed the message. Defaults to "INFO".

message

inlined lambda which will be evaluated only if info logs are currently on. The string result of this function will be created ONLY when needed, reducing the impact of creating new strings at runtime.

See also

Application.LOG_INFO
Application.getLogLevel