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

Use Knapsack.logger for runner output #39

Merged

Conversation

urbanautomaton
Copy link
Contributor

Currently the different runners use puts to directly print their output to STDOUT. It would be really helpful to be able to suppress this output in certain contexts, or send it to a different location.

This commit changes them to use Knapsack.logger at INFO level. By default this will still print to STDOUT as before, but allows users to send the output elsewhere, or suppress it with a higher log level if desired.

Currently the different runners use `puts` to directly print their output to
STDOUT.

This commit changes them to use Knapsack.logger at INFO level. By default this
will still print to STDOUT as before, but allows users to send this output
elsewhere, or suppress it with a higher log level if desired.
@ArturT ArturT merged commit 1d79430 into KnapsackPro:master May 19, 2016
@ArturT
Copy link
Member

ArturT commented May 19, 2016

@urbanautomaton Thanks for PR! I've just released knapsack 1.9.0 with this improvement.

@urbanautomaton
Copy link
Contributor Author

Thanks @ArturT! And, as always, thanks for making the gem. 👍

@ArturT
Copy link
Member

ArturT commented May 20, 2016

I've just realized that I forgot to push 1.9.0 version to rubygems yesterday. Now it's there.

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