mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2024-07-01 13:57:44 +00:00
10 lines
264 B
Kotlin
10 lines
264 B
Kotlin
|
package dev.inmo.kslog.common.utils
|
||
|
|
||
|
import dev.inmo.kslog.common.CallbackKSLog
|
||
|
import dev.inmo.kslog.common.KSLog
|
||
|
|
||
|
infix operator fun KSLog.plus(other: KSLog) = CallbackKSLog { l, t, m, e ->
|
||
|
this@plus.performLog(l, t, m, e)
|
||
|
other.performLog(l, t, m, e)
|
||
|
}
|