mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
完善网络框架,增加服务器断开连接回调
This commit is contained in:
@@ -34,12 +34,12 @@ namespace TEngine
|
||||
|
||||
private bool CheckLogLevel(int level)
|
||||
{
|
||||
if (Define.Options == null)
|
||||
if (AppDefine.Options == null)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return Define.Options.LogLevel <= level;
|
||||
return AppDefine.Options.LogLevel <= level;
|
||||
}
|
||||
|
||||
public void Trace(string msg)
|
||||
|
Reference in New Issue
Block a user