-
Notifications
You must be signed in to change notification settings - Fork 280
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 logging instead of print #286
Labels
Comments
PR welcome ;-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The output is very chatty, especially progress reports from genetic.py. With most packages, one can apply logging filters outside the code to modify what information is surfaced. For instance, I normally would be able to do something like this in my calling code:
However, as this repo uses print statements instead of logging, this is not possible. Logging is generally best practice as you can control the look and style of the output, show timestamps, line numbers, set levels and so on.
The text was updated successfully, but these errors were encountered: