capacitor
capacitor copied to clipboard
[Feature]: Disable bridge toJs and fromJs logs
Description
Sometimes, plugins notify many times per second, which makes these logs unbearable.
Platforms
- [x] iOS
- [x] Android
- [ ] Web
Request or proposed solution
In CapacitorBridge.swift, line 581, delete it or allow it to be configured.
CAPLog.print("⚡️ TO JS", resultJson.prefix(256))
I know about the config "loggingBehavior", but that disables all the logs. The painful one is this one.
Same on android
Alternatives
No response
Additional Information
No response
We'll be investigating logging in general soon-ish.