diff --git a/mirai-core-timpc/src/commonMain/kotlin/net.mamoe.mirai.timpc/network/TIMPCBotNetworkHandler.kt b/mirai-core-timpc/src/commonMain/kotlin/net.mamoe.mirai.timpc/network/TIMPCBotNetworkHandler.kt index 888533269..fafb4efc4 100644 --- a/mirai-core-timpc/src/commonMain/kotlin/net.mamoe.mirai.timpc/network/TIMPCBotNetworkHandler.kt +++ b/mirai-core-timpc/src/commonMain/kotlin/net.mamoe.mirai.timpc/network/TIMPCBotNetworkHandler.kt @@ -217,7 +217,10 @@ internal class TIMPCBotNetworkHandler internal constructor(coroutineContext: Cor if (!packet::class.annotations.filterIsInstance().any()) { if ((packet as? BroadcastControllable)?.shouldBroadcast != false) { - bot.logger.verbose("Packet received: $packet") + bot.logger.verbose("Packet received: ${packet.toString() + .replace("\n\r", """\n""") + .replace("\n", """\n""") + .replace("\r", """\n""")}") } }