Interop with Loguru #1712
Unanswered
autoferrit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have my logging setup to use
rich
's nice error handling with loguru. Though i have a few minor issues. When I am using a try/except block I can easily enough import theconsole
I setup in mylogging.py
to spit out a nicely formatted error message. But when another exception is raised somewhere in the code, it is not using rich's output. here is my logging.pyIs there anything I could be doing differently so that when any exception comes up, rich can catch it and work it's magic on the output?
Beta Was this translation helpful? Give feedback.
All reactions