critical method
Logs message at LogSeverity.critical severity.
Details on how the parameters are handled can be found depending on the implementation.
See CloudLogger.defaultLogger and structuredLogEntry for more information.
Implementation
void critical(
Object message, {
Map<String, Object?>? payload,
StackTrace? stackTrace,
}) => log(
message,
LogSeverity.critical,
payload: payload,
stackTrace: stackTrace,
);