logger

expect fun logger(name: String): Logger

Acquire a Logger for the given logger name, which can be any identifying string; in JVM circumstances, the full class name of the subject which is sending the logs is usually used.

Return

Desired logger.

Parameters

name

Name of the logger to create and return.


expect fun logger(): Logger

Acquire a root Logger which is unnamed, or uses an empty string value ("") for the logger name.

Return

Root logger.

actual fun logger(name: String): Logger

Acquire a Logger for the given logger name, which can be any identifying string; in JVM circumstances, the full class name of the subject which is sending the logs is usually used.

Return

Desired logger.

Parameters

name

Name of the logger to create and return.


actual fun logger(): Logger

Acquire a root Logger which is unnamed, or uses an empty string value ("") for the logger name.

Return

Root logger.