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

ENH: Add clear capability to overload logger_warning #2025

Closed
wants to merge 2 commits into from

Conversation

pubpub-zz
Copy link
Collaborator

closes #2020

@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (11ee648) 94.07% compared to head (87ca0c0) 94.08%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2025   +/-   ##
=======================================
  Coverage   94.07%   94.08%           
=======================================
  Files          33       33           
  Lines        7077     7083    +6     
  Branches     1413     1414    +1     
=======================================
+ Hits         6658     6664    +6     
  Misses        262      262           
  Partials      157      157           
Files Changed Coverage Δ
pypdf/__init__.py 100.00% <100.00%> (ø)
pypdf/_utils.py 99.18% <100.00%> (+0.01%) ⬆️

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

@pubpub-zz
Copy link
Collaborator Author

@MartinThoma all yours 🙂

@MartinThoma MartinThoma changed the title ENH : add clear capability to overload logger_warning ENH: Add clear capability to overload logger_warning Jul 28, 2023
@MartinThoma
Copy link
Member

MartinThoma commented Jul 28, 2023

I think / hope that we don't need this. I think the logging module provides the necessary options 🤞

I want to get feedback about #2020 (comment) and put this on-hold PR requests that need clarification before they can be merged.A comment must give details as long as it's not clarified.

@MartinThoma MartinThoma added the on-hold PR requests that need clarification before they can be merged.A comment must give details label Jul 28, 2023
@MartinThoma
Copy link
Member

Thank you for proposing a PR 🙏 In the discussion of #2020 it seems as if the issue can be solved with logging directly, hence I prefer not to expand our codebase.

For this reason, I'm closing this PR.

@MartinThoma MartinThoma closed this Aug 3, 2023
@pubpub-zz pubpub-zz deleted the logger_warning branch September 2, 2023 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-hold PR requests that need clarification before they can be merged.A comment must give details
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: How to handle / customize log records emitted by pypdf
2 participants