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

+3 -4
View File
@@ -1,4 +1,3 @@
import { userLogger } from "../utils/logger.js";
// js/services/authService.js
import {
@@ -95,7 +94,7 @@ export default class AuthService {
try {
this.logger(message, error);
} catch (logError) {
userLogger.warn("[AuthService] logger threw", logError);
console.warn("[AuthService] logger threw", logError);
}
});
}
@@ -104,7 +103,7 @@ export default class AuthService {
try {
this.logger(...args);
} catch (error) {
userLogger.warn("[AuthService] logger threw", error);
console.warn("[AuthService] logger threw", error);
}
}
@@ -952,4 +951,4 @@ export default class AuthService {
this.emitProfileList("hydrate");
return result;
}
}
}