fatal method
Logs a message at fatal level.
The error
refers to the caught exception or error.
The stackTrace
conveys information about the call sequence that
triggered the error
.
Implementation
@mustCallSuper
void fatal(MessageLog messageLog, {dynamic error, StackTrace? stackTrace}) =>
_logger.f(
_tryAppendUserIdToMessageLog(messageLog),
error: error,
stackTrace: stackTrace,
);