setLogLevel static method

void setLogLevel(
  1. Level level
)

Set the log level of the logger.

Implementation

static void setLogLevel(lib_logger.Level level) {
  /// override the logger
  log = lib_logger.Logger(
    printer: _myPrinter,
    level: level,
    output: MyConsoleOutput(),
  );
}