Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
feat(logging): re-enable logging interceptors
Browse files Browse the repository at this point in the history
  • Loading branch information
dorucioclea committed Apr 4, 2024
1 parent ff8f8a9 commit 751e756
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions standalone/portal-api/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ async function bootstrap() {
fallbackOnErrors: true,
});

// app.useGlobalInterceptors(
// new ClassSerializerInterceptor(app.get(Reflector)),
// new LoggingInterceptor(loggerService, app.get(Reflector))
// );
app.useGlobalInterceptors(
new ClassSerializerInterceptor(app.get(Reflector)),
new LoggingInterceptor(loggerService, app.get(Reflector))
);

app.useGlobalPipes(new ValidationPipe(validationOptions));

Expand Down

0 comments on commit 751e756

Please sign in to comment.