generate kdocs

This commit is contained in:
2025-11-12 13:45:57 +06:00
parent 3c4e59ddc2
commit 7f92a3e614
16 changed files with 510 additions and 40 deletions

View File

@@ -1,5 +1,13 @@
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, t, m.toString(), e)
defaultKSLogLogger.doLog(l, m.toString(), e)
}