Need help to solve this challenge

anyone help me to solve freecodecamp challenge

Basic Node and Express - Implement a Root-Level Request Logger Middleware

this is the link https://learn.freecodecamp.org/apis-and-microservices/basic-node-and-express/implement-a-root-level-request-logger-middleware

Go head and ask a specific question. Then share some relevant code. What have you tried?

this is the code i tried
app.use('/' ,( req, res, next) => {
console.log(req.method + ' ' + req.path + '-' + req.ip);
next();
});

You shouldn’t pass in root path. app.use will automatically apply the middleware to all the requests.

i tired that also . but test is not passed.