📅  最后修改于: 2022-03-11 15:04:11.453000             🧑  作者: Mango
const requestLogger = (request, response, next) => {
console.log('Method:', request.method)
console.log('Path: ', request.path)
console.log('Body: ', request.body)
console.log('---')
next()
}