error static method

void error(
  1. String text
)

error Logs to console in red, use for when a error accours tipically in a try - catch, LOG_LEVEL: 40

Implementation

static void error(String text) {
  _writeLog(text: text, label: "ERROR", color: LogColor.red);
}