Revert "Refactor logging to centralized logger"

This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-10-15 11:14:10 -04:00
1 parent 2e7038e0e6
commit d705cf176b
67 files changed
+798 -1130

No files matched your search

+1 -10
View File
@@ -17,15 +17,6 @@
<script>
(async () => {
const fallbackChannel = {
error: () => {},
warn: () => {},
info: () => {},
log: () => {},
};
const fallbackLogger = { dev: fallbackChannel, user: fallbackChannel };
const bitvidLogger =
(typeof window !== "undefined" && window.bitvidLogger) || fallbackLogger;
try {
// Fetch the Markdown file
const response = await fetch("content/getting-started.md");
@@ -49,7 +40,7 @@
hljs.highlightBlock(block);
});
} catch (err) {
bitvidLogger.user.error("Error loading 'Getting Started' content:", err);
console.error("Error loading 'Getting Started' content:", err);
const container = document.getElementById("markdown-container");
if (container) {
container.innerHTML = `