Pass stump a logger to use. If no logger is supplied, a basic logger
    of level INFO will print to stdout.

def configure(logger=None):
    """Pass stump a logger to use. If no logger is supplied, a basic logger
    of level INFO will print to stdout.

    """
    global LOGGER
    if logger is None:
        LOGGER = logging.basicConfig(stream=sys.stdout, level=logging.INFO)
    else:
        LOGGER = logger