From fcdaed08febfc95dacfb099f27cbcd7f9db59369 Mon Sep 17 00:00:00 2001 From: uis Date: Sun, 14 Oct 2018 20:28:27 +0300 Subject: #11 Single field for ip and port --- src/GlobalState.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/GlobalState.cpp') diff --git a/src/GlobalState.cpp b/src/GlobalState.cpp index 8d75bac..9675d4b 100644 --- a/src/GlobalState.cpp +++ b/src/GlobalState.cpp @@ -36,7 +36,7 @@ void InitEvents() { LOG(ERROR) << "Already connected"; return; } - LOG(INFO) << "Connecting to server"; + LOG(INFO) << "Connecting to server at address " + std::get<0>(data) + ":" + std::to_string(std::get<1>(data)) + " as " + std::get<2>(data); PUSH_EVENT("Connecting",0); gs = std::make_unique(); isPhysRunning = true; @@ -228,4 +228,4 @@ void GlobalState::SetState(const State &newState) { if (newState != state) PUSH_EVENT("StateUpdated", 0); state = newState; -} \ No newline at end of file +} -- cgit v1.2.3