w method
Logs a warning message.
The warning message is displayed with the prefix WARNING
.
Example:
logger.w('This is a warning message');
Implementation
void w(String message) {
if (_shouldLog()) {
debugPrint('WARNING: $message');
}
}