def _uid_2_level(self, uid, other_uid=None):
        if other_uid == None:
            other_uid = self.self.uid
        level = int(self._above_zero(
                        math.log(
                            uidlib.distance(uid, other_uid)+0.1)
                        )
                    )
        return level
Convert a uid to a log level in the finger table
dataset/ETHPy150Open c00w/gevent-dht/gevent_dht/finger.py/FingerTable._uid_2_level