前端开发
express-winston 库的学习笔记
库地址express-winston为express.js应用程序的请求和错误记录提供中间件。它使用“白名单”从请求和(0.2.x中新增的)响应对象中选择属性。要使用express-winston,您需要将以下内容添加到您的应用程序中:在package.json中:{"dependencies":{"...":"...","winston":"^3.0.0","express-winston":"