warning method
Logs message at LogSeverity.warning 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 warning(
Object message, {
Map<String, Object?>? payload,
StackTrace? stackTrace,
}) => log(
message,
LogSeverity.warning,
payload: payload,
stackTrace: stackTrace,
);