@hapi/pinpoint API v2.0.1
console
npm install @hapi/pinpoint@2.0.1console
yarn add @hapi/pinpoint@2.0.1console
pnpm add @hapi/pinpoint@2.0.1location(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 to1(caller).
Returns an object with the filename and line number.
