From bc824a6209d72e6366b5c390c5b6cc68aad6e094 Mon Sep 17 00:00:00 2001 From: "1992414357@qq.com" <1992414357@qq.com> Date: Sun, 22 Jun 2025 03:27:54 +0800 Subject: Add some trace! macros to game_runtime.rs, controller_runtime.rs --- core/src/service/tcp_network/pad_client/pad_client_service.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src') diff --git a/core/src/service/tcp_network/pad_client/pad_client_service.rs b/core/src/service/tcp_network/pad_client/pad_client_service.rs index 9b1826b..fe3da29 100644 --- a/core/src/service/tcp_network/pad_client/pad_client_service.rs +++ b/core/src/service/tcp_network/pad_client/pad_client_service.rs @@ -85,8 +85,6 @@ impl PadClientNetwork { pub fn connect(self) { let runtime = build_tokio_runtime("padclient_tcp".to_string()); - - info!("[TCP Client] Connecting to {}:{}", self.addr.ip().to_string(), self.addr.port()); runtime.block_on(self.build_entry()); } } @@ -94,6 +92,8 @@ impl PadClientNetwork { impl PadClientNetwork { async fn connection_thread(self: Arc) { + info!("[TCP Client] Connecting to {}:{}", self.addr.ip().to_string(), self.addr.port()); + let mut buffer = [0; 1024]; // Requests game infos -- cgit