CliLogger.of constructor

CliLogger.of({
  1. required bool verbose,
  2. String indentation = '',
  3. String childIndentation = ' ',
})

Implementation

factory CliLogger.of(
    {required bool verbose,
    String indentation = '',
    String childIndentation = '  '}) {
  return _CliLogger(
    verbose ? Logger.verbose() : Logger.standard(),
    indentation,
    childIndentation,
  );
}