refactor: implement multi-tier logging and drop panicOnWarning

- Centralize logger: warnf/errorf for normal pages; HTML comments for adapters
- Add dev console logs and export structured logs to /hbx-debug.json
- Remove --panicOnWarning from dev scripts; builds no longer fail on warnings
- Fix prior lint/format issues across scripts and templates
This commit is contained in:
George Cushen committed 2025-09-22 22:48:26 +01:00
1 parent 0fc34ba8c8
commit 220330d872
47 files changed
+217 -501

No files matched your search

-1
View File
@@ -107,7 +107,6 @@ HUGO_ARGS=(
if [ "$DEBUG_MODE" = true ]; then
HUGO_ARGS+=(
--logLevel debug
--panicOnWarning
--templateMetrics
--templateMetricsHints
--ignoreCache