UNPKG

openapi-directory-mcp

Version:

Model Context Protocol server for accessing enhanced triple-source OpenAPI directory (APIs.guru + additional APIs + custom imports)

32 lines 1 kB
/** * Simple logger utility for consistent logging across the application * Uses debug levels to control output in different environments */ export declare enum LogLevel { ERROR = 0, WARN = 1, INFO = 2, DEBUG = 3 } export declare class Logger { private static logLevel; private static getLogLevelFromEnv; static error(message: string, ...args: any[]): void; static warn(message: string, ...args: any[]): void; static info(message: string, ...args: any[]): void; static debug(message: string, ...args: any[]): void; /** * Special method for cache operations - uses debug level * to avoid cluttering production logs */ static cache(operation: string, key?: string, details?: any): void; /** * Sanitize cache keys to avoid exposing sensitive information */ private static sanitizeKey; /** * Set log level dynamically */ static setLogLevel(level: LogLevel): void; } //# sourceMappingURL=logger.d.ts.map