From 1b5f45cd705f3b579059cacf1eebc733b133e7c4 Mon Sep 17 00:00:00 2001 From: cssxsh Date: Thu, 27 Oct 2022 01:46:43 +0800 Subject: [PATCH] feat: more login info (#2304) --- .../src/internal/MiraiConsoleImplementationBridge.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mirai-console/backend/mirai-console/src/internal/MiraiConsoleImplementationBridge.kt b/mirai-console/backend/mirai-console/src/internal/MiraiConsoleImplementationBridge.kt index 998ec7445..ce6769a92 100644 --- a/mirai-console/backend/mirai-console/src/internal/MiraiConsoleImplementationBridge.kt +++ b/mirai-console/backend/mirai-console/src/internal/MiraiConsoleImplementationBridge.kt @@ -356,7 +356,6 @@ ___ ____ _ _____ _ } if (id == 123456L) continue fun BotConfiguration.configBot() { - mainLogger.info { "Auto-login ${account.account}" } account.configuration[ConfigurationKey.protocol]?.let { protocol -> this.protocol = runCatching { @@ -381,6 +380,8 @@ ___ ____ _ _____ _ account.configuration[ConfigurationKey.device]?.let { device -> fileBasedDeviceInfo(device.toString()) } + + mainLogger.info { "Auto-login ${account.account}, protocol: ${this.protocol}, heartbeatStrategy: ${this.heartbeatStrategy}" } } val bot = when (account.password.kind) {