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: implement logging hierarchy #453

Merged
merged 2 commits into from
Jul 11, 2022
Merged

feat: implement logging hierarchy #453

merged 2 commits into from
Jul 11, 2022

Conversation

redeboer
Copy link
Member

Logging is now performed through a hierarchy, so that logging from specific modules can be switched off (following Python's recommendations). The following for example disables the progress bars from the data module:

import logging

logging.getLogger("tensorwaves.data").setLevel(logging.ERROR)

@redeboer redeboer added this to the 0.4.7 milestone Jul 11, 2022
@redeboer redeboer self-assigned this Jul 11, 2022
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@redeboer redeboer merged commit e2ec332 into ComPWA:main Jul 11, 2022
@redeboer redeboer deleted the logger branch July 11, 2022 07:46
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.

1 participant