Skip to content

Commit 310bea6

Browse files
committed
Removed console logging
1 parent 1b717d7 commit 310bea6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/backend-tokenApproximator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
const Site = (window.InjectionTargetsOnWebsite && window.InjectionTargetsOnWebsite.activeSite) || 'Unknown';
1919

2020
// Logging helper required by project
21+
// Log only through logConCgp - no fallback to console.*
2122
function log(...args) {
2223
try {
2324
if (typeof window.logConCgp === 'function') {
2425
window.logConCgp('[tok-approx]', ...args);
25-
} else {
26-
console.log('[tok-approx]', ...args);
2726
}
27+
// If logConCgp is not available, do nothing (project policy)
2828
} catch { /* noop */ }
2929
}
3030

0 commit comments

Comments
 (0)