Improve logs

This commit is contained in:
Him188 2020-05-22 12:31:21 +08:00
parent fa80753250
commit e98cd8685b

View File

@ -491,7 +491,7 @@ internal class QQAndroidBotNetworkHandler(coroutineContext: CoroutineContext, bo
}
is MessageEvent -> packet.logMessageReceived()
is Event -> bot.logger.verbose { "Event: ${packet.toString().singleLine()}" }
else -> logger.verbose { "Packet: ${packet.toString().singleLine()}" }
else -> logger.verbose { "Recv: ${packet.toString().singleLine()}" }
}
}