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.

18 lines 634 B
/** * Value Object: LogLevel * Represents a log level with validation */ export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'fatal'; export declare class LogLevelVO { readonly value: LogLevel; private static readonly VALID_LEVELS; private static readonly LEVEL_PRIORITY; constructor(value: LogLevel); static isValid(level: string): level is LogLevel; static fromString(level: string): LogLevelVO; compareTo(other: LogLevelVO): number; isGreaterThanOrEqual(other: LogLevelVO): boolean; equals(other: LogLevelVO): boolean; toString(): string; } //# sourceMappingURL=LogLevel.d.ts.map