w static method

void w(
  1. dynamic message
)

Logs a warning message.

Use for potentially harmful situations that don't prevent operation but should be addressed.

Log.w('Deprecated API usage detected');

Implementation

static void w(dynamic message) => _logger.warning(_format(message));