UNPKG

@rhofkens/mcp-quotes-server-claude-code

Version:

Model Context Protocol (MCP) server for managing and serving quotes

31 lines 1.07 kB
/** * Logger configuration using Winston * * Logs to files only - console output would interfere with MCP STDIO protocol */ import winston from 'winston'; /** * Create a child logger with additional context */ export declare function createLogger(context: Record<string, any>): winston.Logger; /** * Performance logger for tracking operation durations */ export declare class PerformanceLogger { private timers; start(operation: string): void; end(operation: string, metadata?: Record<string, any>): void; } /** * Request logger for MCP/HTTP requests */ export declare class RequestLogger { logRequest(method: string, params: any, id?: string | number): void; logResponse(method: string, result: any, id?: string | number, duration?: number): void; logError(method: string, error: any, id?: string | number): void; private sanitizeParams; } export declare const logger: winston.Logger; export declare const performanceLogger: PerformanceLogger; export declare const requestLogger: RequestLogger; //# sourceMappingURL=logger.d.ts.map