/** * Common log enrichers */ import type { LogEntry, LogEnricher } from './types.js'; /** * Add hostname to log entry */ export declare const addHostInfo: LogEnricher; /** * Add environment from NODE_ENV */ export declare const addEnvironment: LogEnricher; /** * Add service info from environment variables */ export declare const addServiceInfo: LogEnricher; /** * Add process info (PID, memory, uptime) */ export declare const addProcessInfo: LogEnricher; /** * Add timestamp if not present */ export declare const addTimestamp: LogEnricher; /** * Sanitize sensitive data from log entry */ export declare const sanitizeSensitiveData: (patterns: Array<{ path: string; replacement?: string; }>) => LogEnricher; /** * Add custom tags based on log content */ export declare const addDynamicTags: (taggers: Array<{ condition: (entry: LogEntry) => boolean; tag: string; }>) => LogEnricher; /** * Chain multiple enrichers */ export declare const chainEnrichers: (...enrichers: LogEnricher[]) => LogEnricher;