mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2024-06-01 07:25:14 +00:00
8 lines
334 B
Kotlin
8 lines
334 B
Kotlin
package dev.inmo.kslog.common
|
|
|
|
class CallbackKSLog(
|
|
private val performLogCallback: (level: LogLevel, tag: String?, message: String, throwable: Throwable?) -> Unit
|
|
) : KSLog {
|
|
override fun performLog(level: LogLevel, tag: String?, message: String, throwable: Throwable?) = performLogCallback(level, tag, message, throwable)
|
|
}
|