warnOrTrace

fun Logger.warnOrTrace(message: String, t: Throwable)

Log a trace message to the console. If Logger.isTraceEnabled returns false, it will log message as warning instead.