Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

express middleware logging

[1] npm install morgan
[2] var morgan = require('morgan')
[3] app.use(morgan('short')) // combined, common, dev, short, tiny
 
PREVIOUS NEXT
Tagged: #express #middleware #logging
ADD COMMENT
Topic
Name
8+8 =