Root level logger middleware should be active

Tell us what’s happening:
The code is not running

Your code so far

/**Root-level Middleware - A logger */
// place it before all the routes !>
app.use(function middleware(req, res, next) {
console.log(‘{req,method, req,path - req-ip}’);
next();
})

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36.

Challenge: undefined

Link to the challenge: