npm 모듈
로그관리
API
var morgan = require('morgan')
morgan(format, option)
...
Using a predefined format string
morgan('tiny')
Using format string of predefined tokens
morgan(':method :url :status :res[content-length] - :response-time ms')
사용예시
const morgan = require('morgan');
app.use(
morgan(':method :url :status :res[content-length] - :response-time ms (모건)')
);