algoan / nestjs-components

A list of useful components for NestJS applications
https://www.algoan.com
254 stars 40 forks source link

[FEAT] Add getter functions for logging interceptor fields #848

Closed amarlankri closed 9 months ago

amarlankri commented 9 months ago

Description

Add the following public methods to LoggingInterceptor class:

Motivation and Context

Setter methods are already provided for the related fields and usually, getters should be also provided by the class. For instance, it can be useful to retrieve the masking placeholder to apply it for masking other sensitive data, not handled by this interceptor.

Types of changes