add logger id

This commit is contained in:
yanyongyu 2021-03-19 00:24:38 +08:00
parent e7dc4e1eec
commit fc334ec7b9

View File

@ -77,7 +77,7 @@ default_format = (
"<c><u>{name}</u></c> | " "<c><u>{name}</u></c> | "
# "<c>{function}:{line}</c>| " # "<c>{function}:{line}</c>| "
"{message}") "{message}")
logger.add(sys.stdout, logger_id = logger.add(sys.stdout,
colorize=True, colorize=True,
diagnose=False, diagnose=False,
filter=default_filter, filter=default_filter,