You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

requestLogging.js 225B

12345678910
  1. const logger = require("../logging/logger")
  2. const requestLogging = async (req, res, next) => {
  3. res.header("Content-Type", 'application/json');
  4. logger.silly(req)
  5. next()
  6. }
  7. module.exports = requestLogging