logger

inline fun <T : Any> logger(): Logger

Allows to create a Logger instance for a specific class. Note that loggers are not cached - each time this method is called, a new instance of Logger is created, so it is advised to use loggers in companion objects.

Return

a new instance of Logger which contains the passed class name in log tags.