fun error(tag: String, msg: String): Unit
Emits an error message if the log level is equal to or lower than error level.