warning static method

void warning(
  1. String message, {
  2. CliLoggerLevel level = CliLoggerLevel.one,
})

Logs a warning message at the given level.

Implementation

static void warning(
  String message, {
  CliLoggerLevel level = CliLoggerLevel.one,
}) {
  final space = _getSpace(level);
  print('\x1B[33m$space🚧 $message\x1B[0m');
}