figma-to-react-mcp
Version:
Convert Figma designs to React components automatically. MCP server with GitHub, Figma, and Playwright integrations for seamless design-to-code workflow.
25 lines • 835 B
TypeScript
export type LogLevel = "debug" | "info" | "warn" | "error";
export declare class Logger {
private static instance;
private logLevel;
private readonly levels;
private readonly bufferSize;
private logBuffer;
private flushTimer;
private readonly enableBuffering;
private constructor();
static getInstance(logLevel?: LogLevel, enableBuffering?: boolean): Logger;
setLogLevel(level: LogLevel): void;
private shouldLog;
private formatMessage;
private log;
private writeLog;
private flush;
debug(message: string, meta?: any): void;
info(message: string, meta?: any): void;
warn(message: string, meta?: any): void;
error(message: string, meta?: any): void;
success(message: string, meta?: any): void;
forceFlush(): void;
}
//# sourceMappingURL=logger.d.ts.map