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
commit 960dfd95df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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__()}')