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

Remove logging module configuration from the library code #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

heckad
Copy link
Collaborator

@heckad heckad commented Aug 3, 2023

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Aug 3, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.13% ⚠️

Comparison is base (ee1ab75) 87.85% compared to head (71f4df6) 87.73%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
- Coverage   87.85%   87.73%   -0.13%     
==========================================
  Files          33       33              
  Lines        2050     2046       -4     
  Branches      305      305              
==========================================
- Hits         1801     1795       -6     
- Misses        185      186       +1     
- Partials       64       65       +1     
Files Changed Coverage Δ
ansq/utils.py 86.90% <100.00%> (-0.60%) ⬇️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

logger = logging.getLogger(f"ansq {unique_name}" if unique_name else "ansq")
log_format = "%(asctime)s - %(levelname)s - %(name)s: %(message)s"
logging.basicConfig(format=log_format)
logger.setLevel(logging.DEBUG if debug else logging.INFO)
Copy link
Collaborator

@atugushev atugushev Aug 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then we don't need the debug param at all?

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.

3 participants