摘要:
NodeJs中Express框架使用morgan中间件记录日志 Express中的app.js文件已经默认引入了该中间件var logger = require('morgan'); 使用app.use(logger('dev'));可以将请求信息打印在控制台,便于开发调试,但实际生产环境中,需要将 阅读全文
posted @ 2017-11-10 15:47
JokerJason
阅读(13257)
评论(0)
推荐(1)
It's not who you are underneath, it's what you do that defines you
Brick walls are there for a reason :they let us prove how badly we want things