def label_func(s, label=label):
                self.set_label(s, label)
def test(self, logger_name, logger_level, message):
        logger = logging.getLogger(logger_name)
        getattr(logger, logger_level.lower())(message)