Q. Which method logs requests?

A
app.log()
B
app.use(morgan)
C
res.log()
D
app.debug()
Solution:

app.use(morgan) logs requests using the morgan middleware.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!