warning method
Implementation
void warning(message, {bool includeStackTrace = false, stackTrace}) {
if (_shouldIgnoreLevel(LogLevel.warning)) {
return;
}
var trace = stackTrace?.toString();
if (includeStackTrace) {
trace ??= _stackTrace;
}
log(
LogMessage(
LogLevel.warning,
_str(message),
DateTime.now(),
trace,
this,
),
);
}