Multiline apt

This commit is contained in:
Him188 2020-01-03 19:08:30 +08:00
parent d9c8959096
commit 426c2c636b

View File

@ -217,7 +217,10 @@ internal class TIMPCBotNetworkHandler internal constructor(coroutineContext: Cor
if (!packet::class.annotations.filterIsInstance<NoLog>().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""")}")
}
}