bootstrap/p1.5.0/src/common/mapr_logger/log.py
def _find_caller():
        """
        Find the stack frame of the caller so that we can note the source
        file name, line number and function name.
        """
        f = Log._currentframe()
        if f is not None:
            f = f.f_back
        rv = "(unknown file)", 0, "(unknown function)"
        while hasattr(f, "f_code"):
            co = f.f_code
            filename = os.path.normcase(co.co_filename)
            if filename.endswith(Log.STACK_EXCLUDE):
                f = f.f_back
                continue
            rv = (co.co_filename, f.f_lineno, co.co_name)
            break
        return rv

        Find the stack frame of the caller so that we can note the source
        file name, line number and function name.
        
Find the stack frame of the caller so that we can note the source
file name, line number and function name.
Find the stack frame of the caller so that we can note the source file name line number and function name .
def _find_caller():
        f = Log._currentframe()
        if f is not None:
            f = f.f_back
        rv = "(unknown file)", 0, "(unknown function)"
        while hasattr(f, "f_code"):
            co = f.f_code
            filename = os.path.normcase(co.co_filename)
            if filename.endswith(Log.STACK_EXCLUDE):
                f = f.f_back
                continue
            rv = (co.co_filename, f.f_lineno, co.co_name)
            break
        return rv
def _find_caller ( ) : f = Log . _currentframe ( ) if f is not None : f = f . f_back rv = "(unknown file)" , 0 , "(unknown function)" while hasattr ( f , "f_code" ) : co = f . f_code filename = os . path . normcase ( co . co_filename ) if filename . endswith ( Log . STACK_EXCLUDE ) : f = f . f_back continue rv = ( co . co_filename , f . f_lineno , co . co_name ) break return rv
Find the stack frame of the caller so that we can note the source
file name, line number and function name.
Find the stack frame of the caller so that we can note the source file name line number and function name .
"""
        Find the stack frame of the caller so that we can note the source
        file name, line number and function name.
        """