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

[Feature request] Enable custom output logging level (quiet, verbose, info, etc) #79

Closed
niedzielski opened this issue Feb 2, 2020 · 2 comments · Fixed by #82
Closed
Labels
enhancement New feature or request

Comments

@niedzielski
Copy link
Contributor

This is a feature request to enable the wasm-pack log level to be specified 👍

Now that rustwasm/wasm-pack#694 is merged and released, it should be possible to customize the output level wanted. As far as I can tell, wasm-pack-plugin hardcodes this level to verbose so it's not easy to change the level to warn or quiet.

As mentioned in the wasm-pack v0.9.0 release notes, these logging arguments must appear before the command so wasm-pack-plugin's extraArgs property cannot be used. However, I think a new property, perhaps called simply args, could be added to allow for log level (or other options) to be passed and default to whatever makes sense (currently --verbose).

@xtuc
Copy link
Member

xtuc commented Mar 14, 2020

I published v1.2.0 with that feature

@niedzielski
Copy link
Contributor Author

Thank you, @xtuc!

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

Successfully merging a pull request may close this issue.

2 participants