From 1e7de9dcd9413b7945124cdd27600abb9a9da42b Mon Sep 17 00:00:00 2001 From: Eduard Klimenko Date: Fri, 23 Sep 2022 14:19:20 +0300 Subject: [PATCH] console.log turned OFF --- src/main.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.ts b/src/main.ts index c7b673c..49e8938 100644 --- a/src/main.ts +++ b/src/main.ts @@ -7,6 +7,10 @@ import { environment } from './environments/environment'; if (environment.production) { enableProdMode(); } +console.log = () => { }; +console.error = () => { }; +console.info = () => { }; +console.warn = () => { }; platformBrowserDynamic().bootstrapModule(AppModule) .catch(err => console.error(err));