UNPKG

tyrion-git-mcp

Version:

Revolutionary Git MCP with Rust+WASM+TypeScript - 3x-10x performance boost vs traditional solutions

90 lines 2.66 kB
/** * Logger configuration interface */ interface LoggerConfig { level: string; format: 'json' | 'cli'; } /** * Revolutionary logging system with Tony Stark's intelligence */ declare class RevolutionaryLogger { private winston; private config; constructor(); /** * Configure logger with new settings */ configure(config: Partial<LoggerConfig>): void; /** * Create Winston logger with revolutionary formatting */ private createLogger; /** * Create revolutionary CLI format with colors and emojis */ private createCliFormat; /** * Log error with revolutionary formatting */ error(message: string, ...args: any[]): void; /** * Log warning with revolutionary formatting */ warn(message: string, ...args: any[]): void; /** * Log info with revolutionary formatting */ info(message: string, ...args: any[]): void; /** * Log debug with revolutionary formatting */ debug(message: string, ...args: any[]): void; /** * Log verbose with revolutionary formatting */ verbose(message: string, ...args: any[]): void; /** * Log performance metrics with special formatting */ performance(operation: string, duration: number, success: boolean): void; /** * Log security events with special formatting */ security(event: string, severity: 'low' | 'medium' | 'high' | 'critical'): void; /** * Log WASM bridge events with special formatting */ wasm(message: string, data?: any): void; /** * Log MCP protocol events with special formatting */ mcp(message: string, data?: any): void; /** * Log Git operations with special formatting */ git(operation: string, result: 'success' | 'error', duration?: number): void; /** * Create child logger for specific component */ child(component: string): ComponentLogger; } /** * Component-specific logger with prefixed messages */ declare class ComponentLogger { private parent; private component; constructor(parent: RevolutionaryLogger, component: string); private prefix; error(message: string, ...args: any[]): void; warn(message: string, ...args: any[]): void; info(message: string, ...args: any[]): void; debug(message: string, ...args: any[]): void; verbose(message: string, ...args: any[]): void; } export declare const logger: RevolutionaryLogger; export declare const createComponentLogger: (component: string) => ComponentLogger; export type { LoggerConfig }; export { ComponentLogger }; //# sourceMappingURL=logger.d.ts.map