package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Aug 1, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
WhereAmI 返回调用它的函数的包名、文件名和行号
参数:
- depthList: 可选参数,指定调用栈的深度,默认为 1。
返回值:
- string: 调用它的函数的包名、文件名和行号,格式为 "package/file:line"。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.