UNPKG

logceptor

Version:

NestJS interceptor to log HTTP requests and responses with full control, correlation IDs, file rotation, sensitive data masking, and production-ready features.

11 lines (10 loc) 402 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ExcludeLog = exports.EXCLUDE_LOG_KEY = void 0; const common_1 = require("@nestjs/common"); exports.EXCLUDE_LOG_KEY = 'excludeLog'; /** * Decorator to mark a route or controller for log exclusion. */ const ExcludeLog = () => (0, common_1.SetMetadata)(exports.EXCLUDE_LOG_KEY, true); exports.ExcludeLog = ExcludeLog;