- 可视化查看每一个接口请求,
- 监控全局错误信息
- 基于MIT协议开源
npm install effic-monitor
let effic = require("effic")
let monitor = require("effic-monitor")
const app = effic();
// 注册接口文档
// 100 为最大缓存日志数量,默认500
app.use("/monitor",monitor(100));
app.listen(9000, () => {
console.log("server is running");
});