UNPKG

logs-interceptor

Version:

High-performance, production-ready log interceptor for Node.js applications with Loki integration. Built with Clean Architecture principles. Supports Node.js, Browser, and Node-RED.

17 lines 548 B
/** * Service Interface: ILogFilterService * Defines the contract for log filtering operations */ import { LogLevel } from '../value-objects/LogLevel'; import { LogEntry } from '../entities/LogEntry'; export interface ILogFilterService { /** * Check if a log should be processed */ shouldProcess(level: LogLevel, message: string, context?: Record<string, unknown>): boolean; /** * Sanitize sensitive data from log entry */ sanitize(entry: LogEntry): LogEntry; } //# sourceMappingURL=ILogFilterService.d.ts.map