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: adds options to alter logging behavior #174

Merged
merged 2 commits into from
Jul 19, 2020

Conversation

mikeshultz
Copy link
Contributor

We're using this package as a library, not as a CLI utility. The CLI spinner(ora) outputs everything to stderr making clean log parsing and error detection difficult.

This PR adds writeLog and writeError options to the main deploy function that when set will replace ora for log output.

Let me know if you have any feedback. This (or something like it) would be pretty useful to us.

@hacdias
Copy link
Member

hacdias commented Jul 19, 2020

Thanks for this @mikeshultz!

@hacdias hacdias changed the title Adds options to alter logging behavior feat: adds options to alter logging behavior Jul 19, 2020
@hacdias hacdias merged commit 3bd0313 into ipfs-shipyard:master Jul 19, 2020
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.

2 participants