add rainbow logging with rich

This commit is contained in:
Jakub Miazek 2023-04-28 13:56:38 +02:00
parent 1d98c7e39c
commit 5567641d40

View File

@ -69,7 +69,7 @@ Below steps were done to integrate [rich](https://github.com/Textualize/rich) in
3. Keep logger as singleton pattern to avoid multiple instances 3. Keep logger as singleton pattern to avoid multiple instances
4. add uvicorn parameter --log-config config.ini 4. add uvicorn parameter --log-config config.ini
![sample-logs-with-rich](/static/logz.jpg) ![sample-logs-with-rich](/static/logz.png)
Hope you enjoy it. Hope you enjoy it.