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

feat: respect logLevel when registering plugin #186

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ojeytonwilliams
Copy link
Contributor

Checklist

We found ourselves wanting a little more control over the logs for our use-case, so it seemed to make sense to make use of register's logLevel option for that.

I didn't update the docs because I think the assumption is that all plugins should use logLevel if it is set. If that's not the case I'd be happy to update them.

When registering the plugin, you could specify the logLevel as an
option, but this was ignored by the plugin.
I don't know why someone would pass in undefined, but it should fail
early.
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