error

fun Logger.error(msg: String)

Add a log message if error logging is enabled