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

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);

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.