-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat: How to turn off native capacitor plugin logging #2438
Comments
it's
leaving open to document it |
Good work on CAPLog ... as well as optino to disable all it would be helpful on all platforms to be able to configure a logLevel (CRIT, WARN, INFO, etc) |
Noticed the docs are not updated: https://capacitor.ionicframework.com/docs/apis/console/
|
@jcesarmobile We currently have an all-or-nothing situation - where if we silence plugin logs we also silence logs in our code (at least in the Xcode console). Is there a way to just disable a specific plugin's logs? I would like to disable logs for @capacitor/storage (super noisy) but I still need to see my logs. |
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. |
Feature Request
Describe the Feature Request
My console gets filled with lots of logs coming from my capacitor plugin. It logs out
.addListener
.subscribe
Calls from my plugin
I have tried both of the below in my
capacitor.config.json
from these links:#1640
#1431
Platform Support Requested
Describe Preferred Solution
Config option for disabling all CAPLogs
Describe Alternatives
A console flag ?
The text was updated successfully, but these errors were encountered: