w method

void w(
  1. String message, {
  2. dynamic ex,
  3. StackTrace? stacktrace,
  4. Map<String, String?>? attributes,
})

Logs WARNING level message with optional exception and stacktrace

Implementation

void w(
  String message, {
  dynamic ex,
  StackTrace? stacktrace,
  Map<String, String?>? attributes,
}) {
  _log(
    'W',
    tag,
    message,
    ex: ex,
    stacktrace: stacktrace,
    attributes: attributes,
  );
}