From a761891403e69f0d1b5328adfdc5f5cd7d8f03af Mon Sep 17 00:00:00 2001 From: HungDK <> Date: Wed, 8 Oct 2025 13:25:43 +0700 Subject: [PATCH] Fix logger --- Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs b/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs index 1408fc5b05..80407942b6 100644 --- a/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs +++ b/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs @@ -50,7 +50,7 @@ namespace BrewMonster.Network /// Set the connection info. This MUST be called call before login public static void SetConnectionInfo(string ip, int port) { - Logger.Log($"Set connection info {ip} {port}"); + BMLogger.Log($"Set connection info {ip} {port}"); Instance._ip = ip; Instance._port = port; } @@ -62,7 +62,7 @@ namespace BrewMonster.Network if (Instance._ip == "" || Instance._port == 0) { - Logger.LogError($"IP or port is not set {Instance._ip} {Instance._port}"); + BMLogger.LogError($"IP or port is not set {Instance._ip} {Instance._port}"); onLoginComplete?.Invoke(false); return; } @@ -71,7 +71,7 @@ namespace BrewMonster.Network if (!Instance._gameSession.IsConnected) { - Logger.LogError($"Failed to connect to {Instance._ip} {Instance._port}"); + BMLogger.LogError($"Failed to connect to {Instance._ip} {Instance._port}"); onLoginComplete?.Invoke(false); return; } @@ -104,7 +104,7 @@ namespace BrewMonster.Network { if (!Instance._isInitialized) { - Logger.LogError("GameSession is not initialized"); + BMLogger.LogError("GameSession is not initialized"); return; } await Instance._gameSession.ConnectAsync(ip, port);