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

Change prints to logging #22

Merged
merged 1 commit into from
Jun 26, 2020
Merged

Conversation

PaulBrownMagic
Copy link
Contributor

I needed to suppress the print statement output for use in application. So this moves all prints to logging, either at debug or info level. I also updated the tests so that the information that was previously provided by print statements is still provided by the logger.

@ian-andrich
Copy link
Owner

Apologies, haven't been checking github.

@PaulBrownMagic
Copy link
Contributor Author

I know things are a bit crazy at the moment!

What do you think of moving the prints to logging? I think output should be suppressed, but we've still got easy access to it by simply setting the logging level to info for what we'd have printed now, or debug for all the detail.

@ian-andrich
Copy link
Owner

I think it's a great idea. Frankly I should have coded it that way to begin with.

@PaulBrownMagic
Copy link
Contributor Author

Any thoughts on getting this merged?

@ian-andrich
Copy link
Owner

Wow. I meant to merge this.

@ian-andrich ian-andrich merged commit de5fde2 into ian-andrich:master Jun 26, 2020
@ian-andrich
Copy link
Owner

Done.

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