switch case of default kslogger

This commit is contained in:
2022-06-07 21:52:42 +06:00
parent 7fec433344
commit afad845108
3 changed files with 10 additions and 7 deletions

View File

@@ -4,5 +4,5 @@ val Any.logTag
get() = this::class.simpleName ?: error("Unable to retrieve log tag")
val Any.logger
get() = CallbackKSLog { l, t, m, e ->
KSLog.DEFAULT.performLog(l, t ?: logTag, m, e)
KSLog.default.performLog(l, t ?: logTag, m, e)
}