error static method
Logs an error. Throttled to avoid flooding on repeated events.
Implementation
static void error(String message) {
if (!kDebugMode) return;
if (_isThrottled(message)) return;
_record('❌ $message');
debugPrint('❌ $message');
}