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 -2
View File
@@ -1,7 +1,6 @@
import { normalizeDesignSystemContext } from "../../designSystem.js";
import { updateVideoCardSourceVisibility } from "../../utils/cardSourceVisibility.js";
import positionFloatingPanel from "../utils/positionFloatingPanel.js";
import { userLogger } from "../../utils/logger.js";
import { createFloatingPanelStyles } from "../utils/floatingPanelStyles.js";
import {
getPopupOffsetPx,
@@ -1568,7 +1567,7 @@ export class VideoCard {
return typeof formatted === "string" ? formatted : "";
} catch (error) {
if (this.window?.console?.warn) {
this.window.userLogger.warn(
this.window.console.warn(
"[VideoCard] formatTimeAgo formatter threw",
error
);