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:
parent
9378621877
commit
eb81b65e5b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue