mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2024-06-29 04:47:44 +00:00
11 lines
293 B
Kotlin
11 lines
293 B
Kotlin
|
package dev.inmo.kslog.common
|
||
|
|
||
|
import kotlin.jvm.JvmInline
|
||
|
|
||
|
@JvmInline
|
||
|
value class TagLogger(val tag: String) : KSLog {
|
||
|
override fun performLog(level: LogLevel, tag: String?, message: String, throwable: Throwable?) {
|
||
|
KSLog.performLog(level, tag ?: tag, message, throwable)
|
||
|
}
|
||
|
}
|