Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Capacitor has so many console messages #3723

Closed
Sampath-Lokuge opened this issue Oct 24, 2020 · 4 comments · Fixed by #4416
Closed

bug: Capacitor has so many console messages #3723

Sampath-Lokuge opened this issue Oct 24, 2020 · 4 comments · Fixed by #4416

Comments

@Sampath-Lokuge
Copy link

Sampath-Lokuge commented Oct 24, 2020

Hi,

Why Capacitor has so many console messages? It directly affects the performance of the native build. i.e. poor performance. So it is very bad and against the clean code pattern and practices too. I hope you'll remove all of those in the future version.

c

Ionic:

Ionic CLI : 6.11.11 (C:\Users\Sampath\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 5.3.3
@angular-devkit/build-angular : 0.1001.2
@angular-devkit/schematics : 10.0.8
@angular/cli : 10.1.2
@ionic/angular-toolkit : 2.3.3

Capacitor:

Capacitor CLI : 2.4.1
@capacitor/core : 2.4.1

Utility:

cordova-res : 0.14.0
native-run : 1.2.1

System:

NodeJS : v12.13.1 (C:\Program Files\nodejs\node.exe)
npm : 6.12.1
OS : Windows 10

@EKashpersky
Copy link

There's "hideLogs" boolean key for capacitor.config.json

https://capacitorjs.com/docs/config#configuration-file

@KevinKelchen
Copy link

Do we know if hideLogs is automatically disabled in release builds or is it just used in debug builds?

Looking at the source code I did not find evidence of it being disabled in release builds.

@Sampath-Lokuge
Copy link
Author

Yes, that is not working.

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 11, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants