Write middleware that logs method, path, status code and response time for each request.
EasyP2Coding
Write Express middleware that logs the HTTP method, path, status code and response time of every request as one structured log line.
Saved automatically
Write or say your answer first, then compare it with the model answer.
Saved automatically