/** * Logging Abstraction * * Centralized logging with configurable levels and formatting. * Replaces scattered console.log/warn/error calls throughout codebase. */ export declare enum LogLevel { DEBUG = 0, INFO = 1, WARN = 2, ERROR = 3, SILENT = 4 } export interface LoggerConfig { level: LogLevel; prefix?: string; timestamp?: boolean; } export declare class Logger { private config; constructor(config?: Partial); /** * Set the minimum log level */ setLevel(level: LogLevel): void; /** * Get current log level */ getLevel(): LogLevel; /** * Format log message with optional timestamp and prefix */ private format; /** * Debug level logging (most verbose) * All logging goes to stderr to avoid interfering with MCP JSON-RPC on stdout */ debug(message: string, ...args: unknown[]): void; /** * Info level logging (normal operations) * All logging goes to stderr to avoid interfering with MCP JSON-RPC on stdout */ info(message: string, ...args: unknown[]): void; /** * Warning level logging (potential issues) */ warn(message: string, ...args: unknown[]): void; /** * Error level logging (failures) */ error(message: string, ...args: unknown[]): void; /** * Success message (convenience wrapper for info) * All logging goes to stderr to avoid interfering with MCP JSON-RPC on stdout */ success(message: string, ...args: unknown[]): void; /** * Create a child logger with a specific prefix */ child(prefix: string): Logger; } /** * Default logger instance */ export declare const logger: Logger; /** * Create a logger for a specific module */ export declare function createLogger(module: string): Logger; //# sourceMappingURL=Logger.d.ts.map