error static method
Logs an error message in red.
Use this for errors that prevent normal operation or indicate a serious problem that needs attention.
Example:
Logger.error('Failed to connect to Figma API');
Implementation
static void error(String message) {
print('${_red}ERROR: $message$_reset');
}