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

How to hide logs of this library #576

Open
vpaul9678 opened this issue Dec 16, 2024 · 1 comment
Open

How to hide logs of this library #576

vpaul9678 opened this issue Dec 16, 2024 · 1 comment

Comments

@vpaul9678
Copy link

Hi,
As I review, whenever a topic is published or subscribed to, a list of logs is generated. Is it possible to hide these logs, or is there any option through which we can disable all logs of this package in flutter app.

@shamblett
Copy link
Owner

The client logs are off by default however they can be toggled on/off by the logging API -

 client.logging(on: false);

Note the logs generated by this package have the following leader text -

1-2024-12-17 10:14:02.908203 -- ...

An id followed by a hyphen then a date string followed by --. If you are seeing any logs not in this format they are not produced by this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants