All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.dev.bluefalcon.Log.kt Maven / Gradle / Ivy

There is a newer version: 2.2.1
Show newest version
package dev.bluefalcon

object PrintLnLogger: Logger {
    override fun error(message: String, cause: Throwable?) {
        println("e: $message ${cause ?: ""}")
    }

    override fun warn(message: String, cause: Throwable?) {
        println("w: $message ${cause ?: ""}")
    }

    override fun info(message: String, cause: Throwable?) {
        println("i: $message ${cause ?: ""}")
    }

    override fun debug(message: String, cause: Throwable?) {
        println("d: $message ${cause ?: ""}")
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy