UNPKG

loganalyzer-mcp

Version:

🚀 Debug server logs in under 30 seconds - AI-powered MCP server with rapid debugging, real-time monitoring, and actionable fixes

14 lines (13 loc) • 523 B
import { LogAnalysis, FileWatchResult, WatchOptions } from '../types.js'; export declare class FileWatcher { private watchers; private logAnalyzer; constructor(); watchLogFile(filePath: string, options?: WatchOptions): Promise<void>; stopWatching(filePath: string): Promise<void>; listWatchedFiles(): Promise<FileWatchResult[]>; getRecentErrors(filePath?: string, limit?: number): Promise<LogAnalysis[]>; private handleFileChange; private readNewContent; stopAll(): Promise<void>; }