mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-01 12:50:57 +08:00
Use network.logger over bot.logger
This commit is contained in:
parent
9a8a992977
commit
e5ff383666
@ -228,7 +228,7 @@ internal object KnownPacketFactories {
|
||||
}?.let {
|
||||
// 处理内层真实的包
|
||||
if (it.packetFactory == null) {
|
||||
bot.logger.debug("Received commandName: ${it.commandName}")
|
||||
bot.network.logger.debug("Received commandName: ${it.commandName}")
|
||||
PacketLogger.warning { "找不到 PacketFactory" }
|
||||
PacketLogger.verbose { "传递给 PacketFactory 的数据 = ${it.data.useBytes { data, length -> data.toUHexString(length = length) }}" }
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user