Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
solumath committed Apr 12, 2024
1 parent da36f70 commit ea74458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ class CustomFormatter(logging.Formatter):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.GREY = "\x1b[38;2;192;192;192m"
self.YELLOW = "\x1b[38;2;255;255;0m"
self.BLUE = "\x1b[38;2;50;175;255m"
self.ORANGE = "\x1b[38;2;255;140;0m"
self.RED = "\x1b[38;2;255;0;0m"
self.BG_RED = "\x1b[41;37;97m"
self.RESET = "\x1b[0m"

self._colors = {
logging.DEBUG: self.GREY,
logging.INFO: self.YELLOW,
logging.INFO: self.BLUE,
logging.WARNING: self.ORANGE,
logging.ERROR: self.RED,
logging.CRITICAL: self.BG_RED,
Expand Down

0 comments on commit ea74458

Please sign in to comment.