/** * Server logger passed to FastMCP. * * With the stdio transport, stdout carries JSON-RPC frames only, so nothing * here may write to stdout. FastMCP reports through `debug`/`info` in some * sessions (e.g. "[FastMCP debug] listRoots method not supported by client"); * `console.debug`/`console.info` write to stdout in Node, so every level is * routed to stderr. Debug output is dropped unless DEBUG or DEBUG_MCP is set. */ type LogFn = (...args: unknown[]) => void; export interface ServerLogger { debug: LogFn; error: LogFn; info: LogFn; log: LogFn; warn: LogFn; } export declare function createServerLogger(env?: Record, write?: LogFn): ServerLogger; export {}; //# sourceMappingURL=logger.d.ts.map