commonMain.dev.bluefalcon.Log.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blue-falcon Show documentation
Show all versions of blue-falcon Show documentation
Bluetooth Multiplatform Library
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