setRootLoggerLevel function

void setRootLoggerLevel({
  1. bool isVerbose = false,
})

Implementation

void setRootLoggerLevel({bool isVerbose = false}) {
  Logger.root.level = isVerbose ? Level.ALL : Level.INFO;
}