error static method

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

Logs a error message at the given level.

Implementation

static void error(
  String message, {
  CliLoggerLevel level = CliLoggerLevel.one,
}) {
  final space = _getSpace(level);
  print('$spaceāŒ  $message');
}