ionic-team / ionic-team/capacitor
[Feature]: Disable bridge toJs and fromJs logs
Open
type: feature request
- Dominant language
- TypeScript
- Stars
- 16.7k
- Forks
- 1.3k
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 10
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.