w static method

void w(
  1. dynamic message, {
  2. DateTime? time,
  3. Object? error,
  4. StackTrace? stackTrace,
})

Log a message at level Level.warning.

Implementation

static void w(
  dynamic message, {
  DateTime? time,
  Object? error,
  StackTrace? stackTrace,
}) {
  _logger.log(
    Level.warning,
    message,
    time: time,
    error: error,
    stackTrace: stackTrace,
  );
}