logWarning method

void logWarning(
  1. Object? message, [
  2. Object? error,
  3. StackTrace? stackTrace
])

Log message at level Level.WARNING.

See log for information on how non-String message arguments are handled.

Implementation

void logWarning(Object? message, [Object? error, StackTrace? stackTrace]) =>
    log(Level.WARNING, message, error, stackTrace);