def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def test(self, logger_name, logger_level, message):
        logger = logging.getLogger(logger_name)
        getattr(logger, logger_level.lower())(message)