def _verbosity(verbosity): return{ '0': DEBUG, '1': INFO, '2': WARN, '3': ERROR, '4': FATAL, }[verbosity]