commonMain.com.caesarealabs.rpc4k.runtime.implementation.Rpc4K.kt Maven / Gradle / Ivy
package com.caesarealabs.rpc4k.runtime.implementation
//TODO: use loggy
public object Rpc4kLogger {
public fun warn(msg: String, exception: Throwable? = null) {
println("WARN: $msg")
exception?.printStackTrace()
}
public fun error(msg: String, exception: Throwable? = null) {
println("ERROR: $msg")
exception?.printStackTrace()
}
public fun info(msg: String, exception: Throwable? = null) {
println(msg)
exception?.printStackTrace()
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy