_processStack (stack, bristolFileName) {
    let lastIndex = stack.length - 1
    for (; lastIndex >= 0; lastIndex--) {
      if (stack[lastIndex].getFileName() === bristolFileName) {
        break
      }
    }
    const line = stack[lastIndex + 1]
    if (line) {
      return {
        file: line.getFileName(),
        line: line.getLineNumber().toString()
      }
    }
    return null
  }
/**
   * Processes the stack trace of the Bristol log call, excluding wrapping functions.
   * @returns {null|{file, line}} An object containing the file path and line
   *   number of the originating Bristol call, or null if this information
   *   cannot be found.
   * @private
   */
Processes the stack trace of the Bristol log call, excluding wrapping functions.
@returns {null|{file, line}} An object containing the file path and line
number of the originating Bristol call, or null if this information
cannot be found.
@private
Processes the stack trace of the Bristol log call excluding wrapping functions . @returns { null| { file line }} An object containing the file path and line number of the originating Bristol call or null if this information cannot be found . @private
_processStack (stack, bristolFileName) {
    let lastIndex = stack.length - 1
    for (; lastIndex >= 0; lastIndex--) {
      if (stack[lastIndex].getFileName() === bristolFileName) {
        break
      }
    }
    const line = stack[lastIndex + 1]
    if (line) {
      return {
        file: line.getFileName(),
        line: line.getLineNumber().toString()
      }
    }
    return null
  }
_processStack ( stack , bristolFileName ) { let lastIndex = stack . length - 1 for ( ; lastIndex >= 0 ; lastIndex -- ) { if ( stack [ lastIndex ] . getFileName ( ) === bristolFileName ) { break } } const line = stack [ lastIndex + 1 ] if ( line ) { return { file : line . getFileName ( ) , line : line . getLineNumber ( ) . toString ( ) } } return null }
Processes the stack trace of the Bristol log call, excluding wrapping functions.
Processes the stack trace of the Bristol log call excluding wrapping functions .