Coding task · NestJS course · Module 2: Routing and Request Lifecycle

LoggingInterceptor - Time Tracking

Create an interceptor that measures request execution time.

Task

Write a LoggingInterceptor that logs request execution time using Date.now() before and after next.handle()