error static method
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);
}
static void error(String text) {
_writeLog(text: text, label: "ERROR", color: LogColor.red);
}