|
|
@ -38,7 +38,7 @@ class ColoredFormatter(logging.Formatter):
|
|
|
|
def get_logger(name):
|
|
|
|
def get_logger(name):
|
|
|
|
|
|
|
|
|
|
|
|
# Define the logging format
|
|
|
|
# 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_FORMAT = formatter_message(FORMAT, True)
|
|
|
|
color_formatter = ColoredFormatter(COLOR_FORMAT)
|
|
|
|
color_formatter = ColoredFormatter(COLOR_FORMAT)
|
|
|
|
# formatter = logging.Formatter(
|
|
|
|
# formatter = logging.Formatter(
|
|
|
|