');
                    let html = '';
                    lines.forEach(line => {
                        if (!line.trim()) return;
                        const match = line.match(/^(\[.*?\])\s\[(INFO|WARN|ERROR|DEBUG)\]\s(.*)/);
                        if (match) {
                            const date = match[1];
                            const level = match[2].toLowerCase();
                            const message = match[3];
                            const levelClass = (level === 'debug') ? 'lo