@cgaspard/webappmcp
Version:
WebApp MCP - Model Context Protocol integration for web applications with server-side debugging tools
19 lines • 586 B
TypeScript
interface ServerLogEntry {
level: string;
timestamp: string;
args: any[];
metadata?: any;
}
/**
* Create a Winston transport dynamically if Winston is available
*/
export declare function createWinstonTransport(serverLogs: ServerLogEntry[], serverLogLimit: number): {
[x: string]: any;
log(info: any, callback: () => void): void;
} | null;
/**
* Helper to detect and attach to Winston loggers
*/
export declare function attachToWinston(serverLogs: ServerLogEntry[], serverLogLimit: number): boolean;
export {};
//# sourceMappingURL=winston-transport.d.ts.map