withClassTag

inline fun <T> withClassTag(): LogWrapper(source)

Returns a LogWrapper whose tag is derived from the simple name of class T.

Usage:

class MyViewModel {
private val log = Log.withClassTag<MyViewModel>()

fun init() {
log.d("ViewModel initialized")
}
}