UNPKG

clickhouse-mcp

Version:
56 lines 1.21 kB
/** * Simple logging utility for MCP ClickHouse. */ export declare enum LogLevel { ERROR = 0, WARNING = 1, INFO = 2, DEBUG = 3 } export declare class Logger { private name; private static level; /** * Creates a new logger instance. * * @param name - The name of the logger component */ constructor(name: string); /** * Set the global log level. * * @param level - The log level to set */ static setLogLevel(level: LogLevel): void; /** * Format the current timestamp for logging. * * @returns Formatted timestamp string */ private getTimestamp; /** * Log a debug message. * * @param message - The message to log */ debug(message: string): void; /** * Log an info message. * * @param message - The message to log */ info(message: string): void; /** * Log a warning message. * * @param message - The message to log */ warning(message: string): void; /** * Log an error message. * * @param message - The message to log */ error(message: string): void; } //# sourceMappingURL=logger.d.ts.map