def __str__(self):
        return "\n".join([str(x) for x in self])
def test(self, logger_name, logger_level, message):
        logger = logging.getLogger(logger_name)
        getattr(logger, logger_level.lower())(message)