summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os/ngappsrc/src/main.ts
diff options
context:
space:
mode:
authorSudarshan Kumar <sudarshan.kumar@att.com>2020-06-23 14:51:04 +0530
committerSudarshan Kumar <sudarshan.kumar@att.com>2020-06-23 14:52:20 +0530
commitccb2b1b2fbaf58a5545f32c86d30778c17c03f6f (patch)
treea8e7d056c11ee3f6d44e4a6a2c4e6e7f69ed6142 /ecomp-sdk/epsdk-app-os/ngappsrc/src/main.ts
parent66ca6228706979938338a15cd16200e779925b9f (diff)
Report Search,Menu Update,Disable console fixes
Report Search,Menu Update,Disable console fixes Issue-ID: PORTAL-932 Change-Id: I4898cde786ef90828b0999750c34e6e85179c069 Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-os/ngappsrc/src/main.ts')
-rw-r--r--ecomp-sdk/epsdk-app-os/ngappsrc/src/main.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/main.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/main.ts
index c7b673cf..a892a2e6 100644
--- a/ecomp-sdk/epsdk-app-os/ngappsrc/src/main.ts
+++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/main.ts
@@ -10,3 +10,8 @@ if (environment.production) {
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
+
+console.log("isLogDisabled :: ",environment.isLogDisabled);
+if (environment.isLogDisabled ==='true'){
+ window['console']['log'] = function() {};
+} \ No newline at end of file