mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-25 19:44:13 +01:00
Finished the nuking of VERBOSE and PRINTF.
This commit is contained in:
parent
68591b1ec9
commit
e9c67b25a5
@ -136,10 +136,6 @@ class ColorizedFormatter(Formatter):
|
|||||||
color = ansi.RED
|
color = ansi.RED
|
||||||
elif record.levelno == logging.WARNING:
|
elif record.levelno == logging.WARNING:
|
||||||
color = ansi.YELLOW
|
color = ansi.YELLOW
|
||||||
elif record.levelno == logging.VERBOSE:
|
|
||||||
color = ansi.BLUE
|
|
||||||
elif record.levelno == logging.PRINTF:
|
|
||||||
color = ansi.CYAN
|
|
||||||
return ''.join([color,
|
return ''.join([color,
|
||||||
Formatter.format(self, record, *args, **kwargs),
|
Formatter.format(self, record, *args, **kwargs),
|
||||||
ansi.RESET])
|
ansi.RESET])
|
||||||
|
Loading…
Reference in New Issue
Block a user