UNPKG

touchdesigner-mcp-server

Version:
29 lines (28 loc) 760 B
/** * Log severity levels (RFC 5424, matching MCP logging levels) */ export type LogLevel = "debug" | "info" | "notice" | "warning" | "error" | "critical" | "alert" | "emergency"; /** * Parameters for a log entry */ export interface LogParams { level: LogLevel; data: unknown; logger?: string; } /** * Logger interface definition */ export interface ILogger { sendLog(args: LogParams): void; } /** * Console Logger implementation * * Outputs to stderr to avoid interfering with stdio transport. * The MCP logging capability is deprecated as of protocol revision 2026-07-28 * (SEP-2577); stderr logging is the suggested migration path. */ export declare class ConsoleLogger implements ILogger { sendLog(args: LogParams): void; }