SetLogLevel typedef

SetLogLevel = void Function({String? commandName, required CommandRunnerLogLevel parsedLogLevel})

A function type for setting the log level. The logLevel is the log level to set. The commandName is the name of the command if custom rules for log levels are needed.

Implementation

typedef SetLogLevel = void Function({
  required CommandRunnerLogLevel parsedLogLevel,
  String? commandName,
});