From 9d1e3f23dcfcfd29a30eb57bde154e9de4835fc2 Mon Sep 17 00:00:00 2001 From: barhen Date: Sun, 10 Apr 2022 13:16:09 +0000 Subject: [PATCH] Console logging disabled --- src/polyfills.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/polyfills.ts b/src/polyfills.ts index 2610e1f..1243425 100644 --- a/src/polyfills.ts +++ b/src/polyfills.ts @@ -62,3 +62,12 @@ import 'zone.js'; // Included with Angular CLI. /*************************************************************************************************** * APPLICATION IMPORTS */ + if(!window.console) { + var console = { + log : function(){}, + warn : function(){}, + error : function(){}, + time : function(){}, + timeEnd : function(){} + } + } \ No newline at end of file