mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-20 17:46:51 +08:00
Update message.py
优化日志输出多行消息的方法,使得收到的消息显示在一行中,便于日志记录
This commit is contained in:
parent
d6f825473b
commit
cd7749936e
@ -117,4 +117,4 @@ def _log_message(ctx: Context_T) -> None:
|
||||
msg_from += f'@[讨论组:{ctx["discuss_id"]}]'
|
||||
logger.info(f'Self: {ctx["self_id"]}, '
|
||||
f'Message {ctx["message_id"]} from {msg_from}: '
|
||||
f'{ctx["message"]}')
|
||||
f'{ctx["message"].__repr__()}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user