简体   繁体   中英

How console log in terminal every request using node-dev?

我该如何使用node-dev记录(有点像tail -f)每个请求,以便能够看到被击中的路由,等等?

Since I am using Express.js, I have learned using app.use(express.logger()); accomplishes what I am looking for.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM