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

Improve onnotice to actually not log anything when its config value is false #829

Closed
wants to merge 3 commits into from

Conversation

hughcrt
Copy link

@hughcrt hughcrt commented Mar 19, 2024

This options can also accept false as a value, not only a function

@hughcrt hughcrt changed the title Improve types for onnotice in connection options Improve onnotice to actually not log anything when its config value is false Mar 19, 2024
@hughcrt
Copy link
Author

hughcrt commented Apr 13, 2024

Hi @porsager, could you please merge this PR?

@porsager
Copy link
Owner

A noop function () => {} is fine imo to ignore output

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.

None yet

2 participants