Skip to content

christineRR/filofax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

前端跟踪埋点模块

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

安装

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

About

前端日志业务埋点模块

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published