error

inline fun error(ex: Throwable? = null, msgCreator: () -> String)

Log an exception and a message with ERROR severity


inline fun error(ex: Throwable)

Log an exception with ERROR severity