/** * Phase 4: Integration Hooks for Unified Logging System. * * Maps native events from 10 monitoring/logging systems into UnifiedLogEntry * objects and routes them through LogManager. Each source system exposes a * lightweight `addLogListener` callback; the translation logic lives here so * source files stay minimal and never import UnifiedLogEntry. * * Usage: * const cleanups = wireLogHooks(logManager, container); * // later … * cleanups.forEach(fn => fn()); */ import type { LogManager } from './LogManager.js'; type CorrelationIdProvider = { getCorrelationId(): string | undefined; }; export declare function getTriggerMetricsLogListener(logManager: LogManager, contextTracker?: CorrelationIdProvider): (level: 'debug' | 'info' | 'warn' | 'error', message: string, data?: Record) => void; export declare function getSecurityAuditorLogListener(logManager: LogManager, contextTracker?: CorrelationIdProvider): (level: 'debug' | 'info' | 'warn' | 'error', message: string, data?: Record) => void; /** * Wire all monitoring systems into the unified logging pipeline. * * @param logManager The LogManager singleton from the DI container. * @param container The DI container (used to resolve source services). * @returns Array of unsubscribe functions — call them during shutdown. */ export declare function wireLogHooks(logManager: LogManager, container: { resolve(name: string): T; }): (() => void)[]; export {}; //# sourceMappingURL=LogHooks.d.ts.map