WEB-645 fix: replace console.log with Logger service (#3066)

This commit is contained in:
Shubham Kumar
2026-01-31 16:11:40 -06:00
committed by GitHub
parent f9b2f0ffac
commit fc710ff3cf
2 changed files with 8 additions and 2 deletions
+5 -1
View File
@@ -17,11 +17,15 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
import { Logger } from './app/core/logger/logger.service';
const log = new Logger('Bootstrap');
if (environment.production) {
enableProdMode();
Logger.enableProductionMode();
}
platformBrowserDynamic()
.bootstrapModule(AppModule)
.catch((err) => console.log(err));
.catch((err) => log.error('Application bootstrap failed:', err));