jvmMain.de.galdigital.logger.Log.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kmm-logger-jvm Show documentation
Show all versions of kmm-logger-jvm Show documentation
simple kotlin multiplatform logger
The newest version!
package de.galdigital.logger
import java.util.logging.Logger
private val logger: Logger = Logger.getLogger(Loggable::class.java.getName())
actual fun info(message: String, loggerTag: String) {
logger.info(message)
}
actual fun debug(message: String, loggerTag: String) {
logger.info(message)
}
actual fun logError(message: String, throwable: Throwable?, loggerTag: String) {
logger.info(message)
throwable?.printStackTrace()
}