Properly pad error/warning messages

master
Mark Veidemanis 2 years ago
parent 6a620bd7bd
commit 37820306e8
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -38,7 +38,7 @@ class ColoredFormatter(logging.Formatter):
def get_logger(name):
# Define the logging format
FORMAT = "%(asctime)s %(levelname)s $BOLD%(name)13s$RESET - %(message)s"
FORMAT = "%(asctime)s %(levelname)18s $BOLD%(name)13s$RESET - %(message)s"
COLOR_FORMAT = formatter_message(FORMAT, True)
color_formatter = ColoredFormatter(COLOR_FORMAT)
# formatter = logging.Formatter(

Loading…
Cancel
Save