warning static method
Logs a message at the LoggerLevel.warning level.
Implementation
static void warning(String message, {StackTrace? stackTrace}) {
if (stackTrace != null) {
_logger.w(message, null, stackTrace);
} else {
_loggerWithoutStackTrace.w(message);
}
}