ngData.logs_empty || 'Пусто'}</div>`;
                        return;
                    }
                    const lines = logText.split('\n');
                    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 = ma