import logging


def make_consolehandler(formatter, level=logging.INFO):
    """Return a console logging handler."""
    ch = logging.StreamHandler()
    ch.setLevel(level)
    ch.setFormatter(formatter)
    return ch