@hapi/pinpoint API v3.0.0
console
npm install @hapi/pinpoint@3.0.0console
yarn add @hapi/pinpoint@3.0.0console
pnpm add @hapi/pinpoint@3.0.0location(depth)
Returns the filename and line number of the caller in the call stack where:
depth- the distance from thelocation()function in the call stack. Defaults to0(immediate caller); each increment walks one frame further up.
Returns an object with the filename and line number.
