Implement a Root-Level Request Logger Middleware - Console Not Logging

I am working on this challenge. I passed it already, however I can’t get the console log to actually show the routing. This is the current state of the code. I think it has something to do with way I closed it.

This is the current state of the code.


app.use(function middleware(req, res, next) {
  console.log(req.method + " " + req.path + " - " + req.ip)
  next();
})

It should log to the console in glitch. Did you check that? Click “Tools” in the bottom left then “Logs” to display it.

oh, okay. I was looking for it in the console log for the page. Thanks