Refactor logging to centralized logger

This commit is contained in:
thePR0M3TH3AN committed 2025-10-15 11:11:14 -04:00
1 parent 08d770162b
commit 37ba57aa37
67 files changed
+1130 -798

No files matched your search

+2 -1
View File
@@ -1,6 +1,7 @@
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,
@@ -1567,7 +1568,7 @@ export class VideoCard {
return typeof formatted === "string" ? formatted : "";
} catch (error) {
if (this.window?.console?.warn) {
this.window.console.warn(
this.window.userLogger.warn(
"[VideoCard] formatTimeAgo formatter threw",
error
);