error

fun error(source: Class<*>, msg: String?, vararg args: Any?)
fun error(source: Any, msg: String?, vararg args: Any?)

Logs error message