filofax

0.0.4 • Public • Published

前端跟踪埋点模块

通过应用主动埋点,记录应用程序运行过程中业务模块父子调用链及依赖关系,根据条件触发记录上传。

安装

tnpm install filofax

使用

var Filofax = require('filofax');
 
// create global instance
var trace = new Filofax();
 
// 根节点埋点
trace.rootShot();
 
// 子节点埋点
trace.shot();
 
// 错误埋点,dump error 相关函数调用信息
var err = new Error('something wrong');
trace.dump(err);

详细设计

overview

参考

nodejs 日志模块

https://github.com/winstonjs/winston

https://github.com/trentm/node-bunyan

https://github.com/expressjs/morgan

https://github.com/stritti/log4js

Readme

Keywords

none

Package Sidebar

Install

npm i filofax

Weekly Downloads

6

Version

0.0.4

License

none

Last publish

Collaborators

  • christinerr