Closed CheungJ closed 6 years ago
For protractor tests, I have disabled analytics via disableAnalytics(true). However, it's writing the following message to the console:
disableAnalytics(true)
[1128/123839.712:INFO:CONSOLE(44240)] "Analytics disabled: ..."
Protractor is seeing the message and outputting it to the terminal.
Is there a way to completely prevent all console logs?
Thanks for the speedy response! Your second option worked: AnalyticsProvider.startOffline(true);
AnalyticsProvider.startOffline(true);
Thank you!
For protractor tests, I have disabled analytics via
disableAnalytics(true)
. However, it's writing the following message to the console:Protractor is seeing the message and outputting it to the terminal.
Is there a way to completely prevent all console logs?