Add debug logs about environment and fonts.
This commit is contained in:
@@ -16,6 +16,7 @@ using FFmpeg.AutoGen;
|
||||
using Ionic.Zip;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using UnityEngine;
|
||||
using Logger = Cryville.Common.Logging.Logger;
|
||||
@@ -53,6 +54,12 @@ namespace Cryville.Crtr {
|
||||
Application.logMessageReceivedThreaded += OnLog;
|
||||
Logger.Create("main", MainLogger);
|
||||
|
||||
Logger.Log("main", 1, "Game", "Game Version: {0}", Application.version);
|
||||
Logger.Log("main", 1, "Game", "Unity Version: {0}", Application.unityVersion);
|
||||
Logger.Log("main", 1, "Game", "Operating System: {0}", Environment.OSVersion);
|
||||
Logger.Log("main", 1, "Game", "Platform: Build = {0}, Unity = {1}", PlatformConfig.Name, Application.platform);
|
||||
Logger.Log("main", 1, "Game", "Culture: {0}, UI = {1}, System = {2}, Unity = {3}", CultureInfo.CurrentCulture, CultureInfo.CurrentUICulture, CultureInfo.InstalledUICulture, Application.systemLanguage);
|
||||
|
||||
if (_bcflag) Logger.Log("main", 2, "Game", "Reset all settings");
|
||||
|
||||
GameDataPath = Settings.Default.GameDataPath;
|
||||
|
Reference in New Issue
Block a user