Predefined format name ('combined', 'common', 'dev', 'short', 'tiny')
or custom format string using tokens like :method :url :status
or custom format function
// Using predefined format app.use(bunway.logger('dev'));
Example
// Using custom format string app.use(bunway.logger(':method :url :status :response-time ms'));
Example
// Using custom format function app.use(bunway.logger((tokens, req, res, meta) => { return`${req.method}${req.path}${res.statusCode}${meta.responseTime}ms`; }));
Request logging middleware similar to morgan