debug: Add renderer output logging

This commit is contained in:
FrankZamora
2025-11-27 13:55:09 -06:00
parent acdfeffd75
commit 56a7c29653

View File

@@ -50,6 +50,8 @@ final class YoutubeFacadeRenderer
</div>
HTML;
file_put_contents('/tmp/yt-debug.log', date('H:i:s') . " Renderer output length: " . strlen($html) . " chars\n", FILE_APPEND);
file_put_contents('/tmp/yt-debug.log', date('H:i:s') . " Renderer output: " . substr($html, 0, 100) . "...\n", FILE_APPEND);
return $html;
}
}