mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-08 03:22:29 +08:00
Replace "\n" as """\n""" for log
This commit is contained in:
parent
6d0972dd54
commit
1b3065a44c
@ -366,7 +366,7 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
|
||||
if (packet is Cancellable && packet.cancelled) return
|
||||
}
|
||||
|
||||
bot.logger.info("Received packet: $packet")
|
||||
bot.logger.info("Received packet: ${packet.toString().replace("\n", """\n""")}")
|
||||
|
||||
packetFactory?.run {
|
||||
when (this) {
|
||||
|
Loading…
Reference in New Issue
Block a user