def _get_instance():
    try:
        import sys
        f = sys._getframe(2)
         
        r = f.f_locals['self']
        c = f.f_code.co_name
        #l = f.f_code.co_firstlineno
        return "%s.%s" % (r.__class__.__name__, c)
        #return '%s@%s' % (r.__class__.__name__, hex(id(r)))
    except KeyError, e:
        return '-'
dataset/ETHPy150Open selfsk/nodeset.core/src/nodeset/common/log.py/_get_instance/original