Add Rich Library for logging in JacoVirt

close #56
This commit is contained in:
HS-157 2024-04-25 10:10:36 +02:00
parent e31eec876a
commit c1771906e4
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import logging
from rich.logging import RichHandler
# Logger config
logging.basicConfig(format="%(asctime)s %(levelname)s %(message)s", datefmt='%m/%d/%Y %H:%M:%S')
logging.basicConfig(format="%(asctime)s %(levelname)s %(message)s", datefmt="%m/%d/%Y %H:%M:%S", handlers=[RichHandler()])

View File

@ -10,6 +10,7 @@ python = "^3.11"
arcade = "^2.6.17"
redis = "^5.0.3"
pydantic = "^2.7.1"
rich = "^13.7.1"
[build-system]