Open martindsouza opened 9 years ago
Can use Morgan which will produce Apache style documentation.
Example of how to implement: (add to app.js)
app.js
var morgan = require('morgan'); ... app.use(morgan('short')); // TODO change this to configuration option as to type
There's also some examples of how to output to a file and use a rotation log.
Can use Morgan which will produce Apache style documentation.
Example of how to implement: (add to
app.js
)There's also some examples of how to output to a file and use a rotation log.