mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-19 17:58:26 +08:00
♿ add logger id
This commit is contained in:
parent
e7dc4e1eec
commit
fc334ec7b9
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user