Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up[REQUEST] More examples #325
Comments
|
I would like to work on this. Could you please assign this to me? |
|
Done. |
|
Hi, great idea! If I can suggest one, it took me a while to figure out how to use rich to get fancy logging working while saving to a file. Perhaps an example would help others? I got it to work with loguru in the end, happy to share some code if you want. |
|
@FedeClaudi Sounds like a good one. What problems did you have? |
|
Looking at the issues I got the rich handler to work with rich's traceback, but I couldn't get them to show up in the file. I'm the end I saw an issue about loguru, and with that it mostly works. But perhaps not everybody wants to use that, add a dependency etc. So an example of it working with the vanilla logger would be nice! |
The examples directory contains a few .py files that demonstrate a feature of Rich.
It would be nice to have more of these. No example should short and succinct, demonstrate a feature well, non-trivial, and shouldn't cover features that already exist.