没有合适的资源?快使用搜索试试~ 我知道了~
callsite-record:为错误和函数调用站点创建奇特的日志条目
共42个文件
js:19个
html:6个
json:3个
需积分: 5 0 下载量 150 浏览量
2021-02-21
04:34:40
上传
评论
收藏 476KB ZIP 举报
温馨提示
通话记录 为错误和函数调用站点创建奇特的日志条目。 对于错误: 'use strict' ; const createCallsiteRecord = require ( 'callsite-record' ) ; function myFunc ( ) { throw new Error ( 'Yo!' ) ; } try { myFunc ( ) ; } catch ( err ) { console . log ( createCallsiteRecord ( { forError : err } ) . renderSync ( ) ) ; } :down_arrow: 对于在堆栈中调用的函数: 'use strict' ; const createCallsiteRecord = require ( 'callsite-record' ) ; function f
资源推荐
资源详情
资源评论
收起资源包目录
callsite-record-master.zip (42个子文件)
callsite-record-master
.gitignore 29B
tsconfig.json 181B
README.md 6KB
test
mocha.opts 25B
.eslintrc 37B
test.js 6KB
data
expected-html
5.html 2KB
2.html 3KB
4.html 3KB
0.html 2KB
index.js 515B
3.html 3KB
1.html 2KB
expected-default.js 7KB
expected-from-error.js 2KB
wrapped-from-error.js 730B
expected-no-color.js 3KB
from-error.js 1KB
get-records.js 4KB
records.js 709B
wrapped-member-record.js 419B
small-frame.js 101B
throw-error.js 62B
member-record.js 136B
examples
for-call.js 205B
for-error.js 218B
LICENSE 1KB
.eslintrc 2KB
package.json 1KB
.publishrc 271B
media
example1.png 240KB
example2.png 188KB
.eslintignore 24B
.travis.yml 69B
.editorconfig 289B
lib
index.js 9KB
index.d.ts 2KB
renderers
no-color.js 559B
index.d.ts 985B
html.js 1KB
default.js 983B
package-lock.json 114KB
共 42 条
- 1
资源评论
在南极找不到南
- 粉丝: 26
- 资源: 4605
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功