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

Add logging hook. #9

Closed
jcblw opened this issue Jan 16, 2021 · 1 comment
Closed

Add logging hook. #9

jcblw opened this issue Jan 16, 2021 · 1 comment

Comments

@jcblw
Copy link
Contributor

jcblw commented Jan 16, 2021

Description

Right now you have to set up a custom logger around the onMessage stuff to achieve this. I think it would be much better if there was a hook that we could pass as an option when creating an instance that sets up a logger. This should make it work for both normal messages and external messages as well.

@jcblw
Copy link
Contributor Author

jcblw commented Jan 17, 2021

done!

@jcblw jcblw closed this as completed Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant