def _log_level_from_verbosity(verbosity):
    """Get log level from verbosity count."""
    if verbosity == 0:
        return 40
    elif verbosity == 1:
        return 20
    elif verbosity >= 2:
        return 10