frontend-logger-advanced
Version:
Comprehensive frontend logging system with dead click detection, rage click detection, framework integrations (React/Solid), and cloud streaming support
15 lines (14 loc) • 488 B
TypeScript
import { LogEntry, LoggerConfig } from './types';
export declare class FileExporter {
private readonly config;
constructor(config: LoggerConfig);
exportToFile(logs: LogEntry[], filename?: string): void;
private prepareLogs;
private handleLargeFile;
private splitLogsIntoChunks;
private generateChunkFilename;
private downloadFile;
private fallbackToConsole;
setupAutoExport(getLogs: () => LogEntry[]): void;
restoreFromStorage(): LogEntry[];
}