logWarning function
Logs a warning-level message
.
Warnings do not have an impact on the build, but most build systems will display them to the user, so the underlying issue should be addressable (i.e. not be an "FYI"), otherwise consider using logNotice.
Example messages:
- "Could not determine X, falling back to Y. Consider <...> or <...>"
- "This code is deprecated"
Implementation
void logWarning(String message) => build.log.warning(message);