third_party/blink/tools/blinkpy/common/system/stack_utils.py
def _log_stack(logger, stack):
    """Log a stack trace to the logger callback."""
    for filename, lineno, name, line in traceback.extract_stack(stack):
        logger('File: "%s", line %d, in %s' % (filename, lineno, name))
        if line:
            logger('  %s' % line.strip())
Log a stack trace to the logger callback.
Log a stack trace to the logger callback.
Log a stack trace to the logger callback .
def _log_stack(logger, stack):
    for filename, lineno, name, line in traceback.extract_stack(stack):
        logger('File: "%s", line %d, in %s' % (filename, lineno, name))
        if line:
            logger('  %s' % line.strip())
def _log_stack ( logger , stack ) : for filename , lineno , name , line in traceback . extract_stack ( stack ) : logger ( 'File: "%s", line %d, in %s' % ( filename , lineno , name ) ) if line : logger ( '  %s' % line . strip ( ) )
Log a stack trace to the logger callback.
Log a stack trace to the logger callback .
"""Log a stack trace to the logger callback."""
logger
stack