warn

fun warn(msg: String, throwable: Throwable? = null)

Logs a Log.WARN message and prints the stacktrace of the exception

Parameters

msg

Message to log

throwable

Exception to log