mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-13 11:30:13 +08:00
Multiline apt
This commit is contained in:
parent
d9c8959096
commit
426c2c636b
@ -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""")}")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user