mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
Refactor logging to centralized logger
This commit is contained in:
1 parent
08d770162b
commit
37ba57aa37
67 files changed
+1130
-798
No files matched your search
@@ -2,6 +2,7 @@ import { createModalAccessibility } from "./modalAccessibility.js";
|
||||
import positionFloatingPanel from "../utils/positionFloatingPanel.js";
|
||||
import { createFloatingPanelStyles } from "../utils/floatingPanelStyles.js";
|
||||
import { applyDesignSystemAttributes } from "../../designSystem.js";
|
||||
import { devLogger } from "../../utils/logger.js";
|
||||
import {
|
||||
getPopupOffsetPx,
|
||||
getPopupViewportPaddingPx,
|
||||
@@ -101,7 +102,7 @@ export class VideoModal {
|
||||
this.logger(message, ...args);
|
||||
return;
|
||||
}
|
||||
console.log(message, ...args);
|
||||
devLogger.log(message, ...args);
|
||||
}
|
||||
|
||||
addEventListener(type, listener, options) {
|
||||
|
||||
Reference in new issue
Block a user