def __repr__(self):
        return "<Requirements({})>".format(self.filename.name or "")
def test(self, logger_name, logger_level, message):
        logger = logging.getLogger(logger_name)
        getattr(logger, logger_level.lower())(message)