returns a colorized logger. This function can be used just like
    :py:func:`logging.getLogger` except you can set the level right
    away.

def get_logger(name=None, level=logging.DEBUG, stream=None):
    """returns a colorized logger. This function can be used just like
    :py:func:`logging.getLogger` except you can set the level right
    away."""
    logger = logging.getLogger(name)
    colored = colorize_logger(logger, stream=stream, level=level)
    return colored