mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2024-06-29 04:47:44 +00:00
11 lines
295 B
Kotlin
11 lines
295 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: Any, throwable: Throwable?) {
|
|
KSLog.performLog(level, tag ?: this.tag, message, throwable)
|
|
}
|
|
}
|