Files
KSLog/src/wasmJsMain/kotlin/KSLoggerDefaultPlatformLoggerLambda.kt
2025-11-12 13:45:57 +06:00

11 lines
359 B
Kotlin

package dev.inmo.kslog.common
/**
* WebAssembly JavaScript platform implementation of the default logger
*
* Uses [printlnLogging] which formats and outputs logs using `[println]`.
*
* @see printlnLogging
*/
actual var KSLoggerDefaultPlatformLoggerLambda: (level: LogLevel, tag: String, message: Any, throwable: Throwable?) -> Unit =
printlnLogging