Merge pull request #148 from mnixry/patch-1

优化日志输出多行消息的方法
This commit is contained in:
Richard Chien
2020-02-21 19:17:38 +08:00
committed by GitHub

View File

@ -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'{str(ctx["message"]).__repr__()}')