logger: swap colors between INFO and WARNING

yellow is more a warning color than purple

purple is more relaxing, so better for info
This commit is contained in:
pedro 2024-11-10 03:51:15 +01:00
parent 9378621877
commit eb81b65e5b
1 changed files with 2 additions and 2 deletions

View File

@ -13,9 +13,9 @@ class CustomFormatter(logging.Formatter):
if record.levelname == "ERROR":
color = RED
elif record.levelname == "WARNING":
color = PURPLE
elif record.levelname in ["INFO", "DEBUG"]:
color = YELLOW
elif record.levelname in ["INFO", "DEBUG"]:
color = PURPLE
else:
color = RESET