Commit 1b3065a4 authored by Him188's avatar Him188

Replace "\n" as """\n""" for log

parent 6d0972dd
...@@ -366,7 +366,7 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler ...@@ -366,7 +366,7 @@ internal class QQAndroidBotNetworkHandler(bot: QQAndroidBot) : BotNetworkHandler
if (packet is Cancellable && packet.cancelled) return 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 { packetFactory?.run {
when (this) { when (this) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment