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: finegrain logging levels #215

Merged
merged 2 commits into from
Apr 5, 2023
Merged

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Apr 5, 2023

This makes it possible to activate logging for specific modules.

import logging

logging.basicConfig()
logging.getLogger("qrules").setLevel(logging.INFO)
logging.getLogger("qrules.solving").setLevel(logging.DEBUG)

@redeboer redeboer added the ⚙️ Enhancement Improvements and optimizations of existing features label Apr 5, 2023
@redeboer redeboer added this to the 0.9.8 milestone Apr 5, 2023
@redeboer redeboer self-assigned this Apr 5, 2023
@redeboer redeboer marked this pull request as ready for review April 5, 2023 08:38
@redeboer redeboer enabled auto-merge (squash) April 5, 2023 08:39
@redeboer redeboer added the 🖱️ DX Improvements to the Developer Experience label Apr 5, 2023
@redeboer redeboer merged commit 81eead8 into ComPWA:main Apr 5, 2023
@redeboer redeboer deleted the finegrain-logging branch April 5, 2023 09:03
redeboer added a commit that referenced this pull request Apr 6, 2023
* FIX: allow "⚙️ Enhancement" PR label
redeboer added a commit that referenced this pull request Apr 6, 2023
* FIX: allow "⚙️ Enhancement" PR label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖱️ DX Improvements to the Developer Experience ⚙️ Enhancement Improvements and optimizations of existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant