2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 13:33:13 +00:00
This commit is contained in:
2024-07-09 11:18:53 +03:00
parent cd7063ceb4
commit 279b5f87e6
13 changed files with 30 additions and 22 deletions

View File

@ -145,7 +145,7 @@ public abstract class NetworkServer<TConnection> : IDestructible where TConnecti
}
catch (Exception ex)
{
Console.WriteLine(ex);
Global.Log(ex);
}
}
}));
@ -210,7 +210,7 @@ public abstract class NetworkServer<TConnection> : IDestructible where TConnecti
}
finally
{
Console.WriteLine("Server@{0} is down", port);
Global.Log("NetworkServer", LogType.Warning, $"Server@{port} is down.");
}
}