mirror of
https://github.com/EggLinks/DanhengServer-OpenSource.git
synced 2026-01-02 20:26:03 +08:00
Fix Bugs
This commit is contained in:
@@ -80,6 +80,8 @@ public class WordTextCHS
|
||||
public string RogueChestMapInfo => "模拟宇宙地图文件";
|
||||
public string ChessRogueRoom => "模拟宇宙DLC";
|
||||
public string ChessRogueRoomInfo => "模拟宇宙DLC文件";
|
||||
public string SummonUnit => "秘技生成";
|
||||
public string SummonUnitInfo => "秘技生成文件";
|
||||
|
||||
public string DatabaseAccount => "数据库账号";
|
||||
}
|
||||
|
||||
@@ -90,12 +90,10 @@ public class Logger(string moduleName)
|
||||
}
|
||||
}
|
||||
|
||||
#pragma warning disable CS8602
|
||||
public static Logger GetByClassName()
|
||||
{
|
||||
return new Logger(new StackTrace().GetFrame(1).GetMethod().ReflectedType.Name);
|
||||
return new Logger(new StackTrace().GetFrame(1)?.GetMethod()?.ReflectedType?.Name ?? "");
|
||||
}
|
||||
#pragma warning restore CS8602
|
||||
}
|
||||
|
||||
public enum LoggerLevel
|
||||
|
||||
Reference in New Issue
Block a user