oslo_log.handlers¶
-
class
oslo_log.handlers.
ColorHandler
(stream=None)¶ Bases:
logging.StreamHandler
-
LEVEL_COLORS
= {5: ‘\x1b[00;35m’, 40: ‘\x1b[01;31m’, 10: ‘\x1b[00;32m’, 50: ‘\x1b[01;31m’, 20: ‘\x1b[00;36m’, 21: ‘\x1b[01;36m’, 30: ‘\x1b[01;33m’}¶
-
format
(record)¶
-