def configure_logging(verbosity):
log_level = max(<NUM_LIT:10>, <NUM_LIT:30> - <NUM_LIT:10> * verbosity)<EOL>logging.basicConfig(stream=sys.stderr, level=log_level)<EOL>
Configure logging level

Parameters
----------
verbosity : int
    The number of `-v` options from the command line.
Returns
-------
None