fatal method
Logs a fatal error.
New implementations (v1.4.0+): Override this method to receive a complete LogEntry.
Legacy implementations: Override logError() instead for backward compatibility.
entry - The complete log entry containing fatal error message, level, timestamp, context, stackTrace, and event.
Implementation
@override
Future<void> fatal(LogEntry entry) async {
await _logToAI(entry);
}