首页 开发技术 其它     /    api-request-logger-源码

api-request-logger-源码

上传者: weixin_42127937 | 上传时间:2021/4/25 23:16:12 | 文件大小:84KB | 文件类型:ZIP
api-request-logger-源码
@diegoh/api-request-loggerKoa两头件使用提供的记录器记录请求。
用法通过为记录器提供error和info方法来初始化模块。
要记录请求,请在初始化后通过koactx对象作为参数。
例子constmyLogger=require('./logger');constsetupRequestLogger=require('@diegoh/api-request-logger');constlogRequest=setupRequestLogger(myLogger);logRequest(ctx);发展从master创建一个新分支,其名称与您所做的更改相关。
gitbranch-bmy-new-feature-description推动分支并打开“拉取请求”(PR)。
要求进行代 本软件ID:15292812

文件下载

资源详情

[{"title":"(27个子文件84KB)api-request-logger-源码","children":[{"title":"api-request-logger-master","children":[{"title":".nvmrc <span style='color:#111;'>8B</span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'>1.32KB</span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"publish-public.yml <span style='color:#111;'>766B</span>","children":null,"spread":false},{"title":"coverage.yml <span style='color:#111;'>1.13KB</span>","children":null,"spread":false},{"title":"create-github-release.yml <span style='color:#111;'>710B</span>","children":null,"spread":false},{"title":"build.yml <span style='color:#111;'>1.10KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"jest.config.js <span style='color:#111;'>171B</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>1.04KB</span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'>281.01KB</span>","children":null,"spread":false},{"title":"src","children":[{"title":"models","children":[{"title":"error-log.class.ts <span style='color:#111;'>746B</span>","children":null,"spread":false},{"title":"log.interface.ts <span style='color:#111;'>176B</span>","children":null,"spread":false},{"title":"info-log.class.spec.ts <span style='color:#111;'>2.21KB</span>","children":null,"spread":false},{"title":"info-log.class.ts <span style='color:#111;'>873B</span>","children":null,"spread":false},{"title":"logger.interface.ts <span style='color:#111;'>145B</span>","children":null,"spread":false},{"title":"error-log.class.spec.ts <span style='color:#111;'>1.17KB</span>","children":null,"spread":false}],"spread":true},{"title":"error-logger.ts <span style='color:#111;'>334B</span>","children":null,"spread":false},{"title":"request-logger.ts <span style='color:#111;'>344B</span>","children":null,"spread":false},{"title":"error-logger.spec.ts <span style='color:#111;'>972B</span>","children":null,"spread":false},{"title":"request-logger.spec.ts <span style='color:#111;'>1.04KB</span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'>96B</span>","children":null,"spread":false}],"spread":true},{"title":".eslintrc.js <span style='color:#111;'>84B</span>","children":null,"spread":false},{"title":".huskyrc <span style='color:#111;'>83B</span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'>159B</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>974B</span>","children":null,"spread":false},{"title":".npmrc <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>1.22KB</span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'>37B</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明