-
Notifications
You must be signed in to change notification settings - Fork 506
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
Ability to print MuPDF errors to logging
instead of stdout
#3914
Labels
Comments
julian-smith-artifex-com
added a commit
to ArtifexSoftware/PyMuPDF-julian
that referenced
this issue
Oct 7, 2024
julian-smith-artifex-com
added a commit
that referenced
this issue
Oct 8, 2024
julian-smith-artifex-com
added a commit
that referenced
this issue
Oct 8, 2024
Latest PyMuPDF in git has new function The function docstring describes how to use it, but we'll also add it to the main documentation soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
PyMuPDF==1.24.10
will occasionally printMuPDF error
s tostdout
.The issue with
print
is:stdout
prints mess with CLI utilities likerich.Progress
barsDescribe the solution you'd like
Either:
logging.Logger
instead ofprint
message
to support a "level" argument (e.g. error level, debug level, etc)logging
Describe alternatives you've considered
None
Additional context
None
The text was updated successfully, but these errors were encountered: