def METHOD_NAME(self):
    for field in self._fields_:
        if isinstance(getattr(self, field[0]), POINTER32):
            self.ql.log.info("%s: 0x%x" % (field[0], getattr(self, field[0]).value))
        elif isinstance(getattr(self, field[0]), int):
            self.ql.log.info("%s: %d" % (field[0], getattr(self, field[0])))
        elif isinstance(getattr(self, field[0]), bytes):
            self.ql.log.info("%s: %s" % (field[0], getattr(self, field[0]).decode()))