1
0

reduce frontend log spam from debug messages

This commit is contained in:
Hazelnoot
2025-05-10 13:20:44 -04:00
parent f42f9ee0b5
commit 87dc73d700
22 changed files with 32 additions and 32 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ try {
});
} catch (err) {
console.warn(err);
if (_DEV_) console.log('[Intl] Fallback to en-US');
if (_DEV_) console.debug('[Intl] Fallback to en-US');
// Fallback to en-US
_dateTimeFormat = new Intl.DateTimeFormat('en-US', {
@@ -43,7 +43,7 @@ try {
_numberFormat = new Intl.NumberFormat(versatileLang);
} catch (err) {
console.warn(err);
if (_DEV_) console.log('[Intl] Fallback to en-US');
if (_DEV_) console.debug('[Intl] Fallback to en-US');
// Fallback to en-US
_numberFormat = new Intl.NumberFormat('en-US');