mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-14 20:30:12 +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
|
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user