mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2026-04-19 06:32:27 +00:00
13 lines
426 B
Kotlin
13 lines
426 B
Kotlin
package dev.inmo.kslog.common
|
|
|
|
/**
|
|
* JVM platform implementation of the default logger
|
|
*
|
|
* Uses `[java.util.logging.Logger]` as the logging backend, mapping KSLog levels
|
|
* to Java logging levels.
|
|
*
|
|
* @see defaultKSLogLogger
|
|
*/
|
|
actual var KSLoggerDefaultPlatformLoggerLambda: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit = { l, t, m, e ->
|
|
defaultKSLogLogger.doLog(l, m.toString(), e)
|
|
} |