mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2025-09-15 13:09:26 +00:00
taggedLogger
This commit is contained in:
@@ -4,3 +4,5 @@ val Any.logTag
|
||||
get() = this::class.simpleName ?: error("Unable to retrieve log tag")
|
||||
val Any.logger: KSLog
|
||||
get() = TagLogger(logTag)
|
||||
|
||||
fun taggedLogger(tagBase: Any): KSLog = tagBase.logger
|
||||
|
Reference in New Issue
Block a user