return a basic logger that print on stdout msg from reliure lib

def get_basic_logger(level=logging.WARN, scope='reliure'):
    """ return a basic logger that print on stdout msg from reliure lib
    """
    logger = logging.getLogger(scope)
    logger.setLevel(level)
    # create console handler with a higher log level
    ch = logging.StreamHandler()
    ch.setLevel(level)
    # create formatter and add it to the handlers
    formatter = ColorFormatter('%(asctime)s:%(levelname)s:%(name)s:%(message)s')
    ch.setFormatter(formatter)
    # add the handlers to the logger
    logger.addHandler(ch)   
    return logger