warning static method
Logs a warning message in yellow.
Implementation
static String warning(String message, {bool error = true}) {
String output = '{@yellow}[WARNING] $message{@end}';
out(output, error: error);
// Return for testing.
return output;
}