def set_loglevel(args): """Sets log level from CLI arguments.""" if args.quiet: logger.be_quiet() elif args.verbose: logger.be_verbose()
def _set_loglevel(args): if args.quiet: logger.be_quiet() elif args.verbose: logger.be_verbose()