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.

10 lines 358 B
/** * Infrastructure: LokiFormatter * Formats log entries for Grafana Loki */ import { LogEntry } from '../../domain/entities/LogEntry'; import { ILokiFormatter, LokiPayload } from './ILokiFormatter'; export declare class LokiFormatter implements ILokiFormatter { format(entries: LogEntry[]): LokiPayload; } //# sourceMappingURL=LokiFormatter.d.ts.map