fatal method
Marks an error as fatal and records it to the console.
This method treats the error as a critical failure that should be prominently flagged in the console.
entry - The complete log entry containing fatal error message, level, timestamp, context, stackTrace, and event.
Implementation
@override
Future<void> fatal(LogEntry entry) async {
await _logMessage(entry);
}