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

Verbose flag on methods that console.log #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NODESPLIT
Copy link

Added a verbose boolean flag (defaulting to false) on all methods console.log'ing as lib was spamming console whenever any change happened. For instances where lots of communication happens with lots of data this would lead to some lag and frustration debugging.

This might be better done as a global flag, I did function specific args for now as I needed a fork that didn't spam console.
For event-listener.ts I added the flag to the EventListenerOptions struct.

I tried to keep your code style and added comments / info where appropriate.

Thanks!

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

Successfully merging this pull request may close these issues.

1 participant