def METHOD_NAME(self, level, message):
    if level == constants.INFO:
        logging.info(message)
    if level == constants.ERROR:
        logging.error(message)
    if level == constants.DEBUG:
        logging.debug(message)