0.0.4 • Published 8 years ago

filofax v0.0.4

Weekly downloads
14
License
-
Repository
-
Last release
8 years ago

前端跟踪埋点模块

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

安装

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

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago