- [CLI] update --logger_flags command.

This commit is contained in:
Razmoth
2024-01-22 20:51:59 +04:00
parent 59478d9c05
commit 5e35469435
3 changed files with 6 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ namespace AssetStudio.CLI
}
Studio.Game = game;
Logger.Default = new ConsoleLogger() { Flags = o.LoggerFlags };
Logger.Default = new ConsoleLogger() { Flags = o.LoggerFlags.Aggregate((e, x) => e |= x) };
Logger.FileLogging = Settings.Default.enableFileLogging;
AssetsHelper.Minimal = Settings.Default.minimalAssetMap;
AssetsHelper.SetUnityVersion(o.UnityVersion);