// Logger functionality for MCP Agent in TypeScript // This file provides logging capabilities similar to those in the Python logging directory export interface Logger { debug(message: string, ...args: any[]): void; info(message: string, ...args: any[]): void; warn(message: string, ...args: any[]): void; error(message: string, ...args: any[]): void; } export function getLogger(name: string): Logger { // TODO: Implement a proper logging library integration (e.g., winston or bunyan) return { debug: (message: string, ...args: any[]) => console.debug(`[${name}] DEBUG: ${message}`, ...args), info: (message: string, ...args: any[]) => console.info(`[${name}] INFO: ${message}`, ...args), warn: (message: string, ...args: any[]) => console.warn(`[${name}] WARN: ${message}`, ...args), error: (message: string, ...args: any[]) => console.error(`[${name}] ERROR: ${message}`, ...args), }; }