MCPcopy Create free account
hub / github.com/dobin/SuperMega / LogColors

Class LogColors

log.py:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6# ANSI escape sequences for colors
7class LogColors:
8 HEADER = '\033[95m'
9 BLUE = '\033[94m'
10 GREEN = '\033[92m'
11 WARNING = '\033[93m'
12 FAIL = '\033[91m'
13 ENDC = '\033[0m'
14 BOLD = '\033[1m'
15 UNDERLINE = '\033[4m'
16
17
18class CustomFormatter(logging.Formatter):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected