/// <summary> /// Print system information at startup /// </summary> private static void Initialize_Log_System() { // Godot OS options : https://docs.godotengine.org/en/stable/classes/class_os.html Info($"Game Name : { ProjectSettings.GetSetting("application/config/name") } ({_gameShortName})"); Info($"Debug Build Internal : { DEBUG_MODE.ToString().ToUpper() } / Godot : { OS.IsDebugBuild().ToString().ToUpper() }"); Info($"Id Unique : { _uniqueId }"); Info($"Time : { OS.GetTime(true) } UTC / { OS.GetTime(false) } Local"); Info($"System : { OS.GetName() }"); Info($"CPU Number of cores : { OS.GetProcessorCount()/2 } / Memory : { (OS.GetStaticMemoryUsage() / 1024).ToString() } Go"); #if GODOT_WINDOWS || GODOT_X11 || GODOT_OSX || GODOT_ANDROID || GODOT_IOS || GODOT_SERVER Info($"Power Type : { OS.GetPowerState() } / Left : { OS.GetPowerSecondsLeft() }"); #endif Info($"Video Driver : { OS.GetCurrentVideoDriver() } / Screen size { OS.GetScreenSize() } / Game screen size { OS.GetRealWindowSize() }"); Info($"Mobile Model : { OS.GetModelName() }"); Info("---------------------------------------------------------------------------------------------", pWriteToDBLog: false); }