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>{function}:{line}</c>| "
"{message}")
logger.add(sys.stdout,
logger_id = logger.add(sys.stdout,
colorize=True,
diagnose=False,
filter=default_filter,