{"size": 270, "ext": "js", "max_stars_repo_path": "examples/step/01/common/expressMiddleware/logger.js", "max_stars_repo_name": "orionla2/feathers-starter", "max_stars_repo_stars_event_min_datetime": "2021-05-18T14:14:47.000Z", "max_stars_repo_stars_event_max_datetime": "2021-05-18T14:14:47.000Z", "max_issues_repo_path": "examples/step/01/common/expressMiddleware/logger.js", "max_issues_repo_name": "orionla2/feathers-starter", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "examples/step/01/common/expressMiddleware/logger.js", "max_forks_repo_name": "orionla2/feathers-starter", "max_forks_repo_forks_event_min_datetime": "2019-09-04T04:16:35.000Z", "max_forks_repo_forks_event_max_datetime": "2019-11-05T21:16:34.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 20.7692307692, "max_line_length": 69, "alphanum_fraction": 0.5518518519}
'use strict';

module.exports = () => (err, req, res, next) => {
  if (err) {
    console.log(`error - code: ${err.code} message: ${err.message}`);
  }
  
  console.log(`method: ${req.method}, url: ${req.originalUrl}`);
  console.log(req.body || '');
  
  next(err);
};
