w method
Implementation
void w(String title, [Object? exception, StackTrace? stackTrace]) =>
addLogEvent(
LogEvent(
title,
exception: exception,
stackTrace: stackTraceConverter(stackTrace),
level: Level.warning,
),
);