UNPKG

@nest-toolbox/http-logger-middleware

Version:
21 lines (16 loc) 325 B
# `http-logger-middleware` ## Installation ``` npm i @nest-toolbox/http-logger-middleware ``` ## Usage ``` export class AppModule { configure(consumer: MiddlewareConsumer) { consumer.apply(HttpLoggerMiddleware).forRoutes({ path: '*', method: RequestMethod.ALL, }); } } ```