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

+2 -2
View File
@@ -1,4 +1,3 @@
import { userLogger } from "../../utils/logger.js";
// NOTE: Keep the Upload, Edit, and Revert modals in lockstep when updating NIP-71 form features.
const REPEATER_KEYS = ["imeta", "text-track", "segment", "t", "p", "r"];
@@ -37,7 +36,7 @@ export class Nip71FormManager {
try {
store.root.removeEventListener("click", store.handlers.click);
} catch (error) {
userLogger.warn("[Nip71FormManager] Failed to detach previous handler", error);
console.warn("[Nip71FormManager] Failed to detach previous handler", error);
}
}
@@ -780,3 +779,4 @@ export class Nip71FormManager {
return this.sections.get(key) || null;
}
}