-
Notifications
You must be signed in to change notification settings - Fork 347
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
Optionally set report verbosity level using report option #288
Conversation
This is a middle ground approach between no output and reporting of compression information. The log facility is controlled via the option report.
@meschbach: maybe add a test for |
Thank you for the feedback @XhmikosR ! Just to make sure we are on the same page, were you asking for a unit test to verify the verbose log would be utilized when the configuration value is false? |
@meschbach: yeah, exactly. You know, just to be safe. |
👎 |
What exactly is wrong with this approach @sindresorhus? Because what we have now is also wrong. |
@XhmikosR : There doesn't appear to be unit tests, however many system tests which I feel would be inappropriate for this particular test case; but if there is desire from a collaborator I would gladly add them. @sindresorhus : I'm not really sure what to think of your feedback, however if there is something you do not like about the suggested patches I would gladly accept constructive criticism or a statement as why you are not interested in the patch set. |
@meschbach Exactly what it says, I don't think this is the right solution, but seeing as I don't have time to come up with a proper one, I'm willing to merge this if you fix the codestyle ;) I also don't see the point in having both |
The commit eec87eb should bring the code style in-line with the remainder of the file. I can respect desiring to find your own solution, however like you I am also busy. I would be happy to make additional changes, but please be specific about what you would like to have changed. :-) |
Optionally set report verbosity level using report option
Thanks |
This pull request restores the documented behavior of generating the min/gzip reports at the standard log level while introducing the option to log the output to the verbose log using the values 'none' or false. I believe this is a happy middle ground between between 4944e2c and #254.
Resolves:
#254
#257
#276
Related To:
#259
#137 - changes from 4944e2c look identical
#229 - (Pull request)