zeed
    Preparing search index...

    Function getSourceLocation

    • Get the source code location of the caller https://stackoverflow.com/a/47296370/140927

      Parameters

      • level: number = 2

        Number of levels to go down the stack trace

      • stripCwd: boolean = true

        Strip the current working directory, only reasonable for Node.js environment

      Returns string