CI: Build fix

This commit is contained in:
Stenzek
2023-09-30 15:17:18 +10:00
parent 1611885c12
commit 7c102ec29d
5 changed files with 7 additions and 8 deletions

View File

@ -6,6 +6,7 @@
#include "common/small_string.h"
#include "common/types.h"
#include <mutex>
#include <string>
#include <utility>
#include <vector>

View File

@ -263,7 +263,7 @@ bool NoGUIHost::InitializeConfig(std::string settings_filename)
if (!Log::IsConsoleOutputEnabled() &&
s_base_settings_interface->GetBoolValue("Logging", "LogToConsole", Settings::DEFAULT_LOG_TO_CONSOLE))
{
Log::SetConsoleOutputParams(true, nullptr, LOGLEVEL_NONE);
Log::SetConsoleOutputParams(true, s_base_settings_interface->GetBoolValue("Logging", "LogTimestamps", true));
}
return true;

View File

@ -505,7 +505,7 @@ bool RegTestHost::ParseCommandLineParameters(int argc, char* argv[], std::option
return false;
}
Log::SetConsoleOutputParams(true, nullptr, level.value());
Log::SetConsoleOutputParams(true, level.value());
s_base_settings_interface->SetStringValue("Logging", "LogLevel", Settings::GetLogLevelName(level.value()));
continue;
}

View File

@ -33,8 +33,6 @@ int main(int argc, char* argv[])
const ProcessSerialNumber psn = {0, kCurrentProcess};
TransformProcessType(&psn, kProcessTransformToForegroundApplication);
Log::SetConsoleOutputParams(true, "", LOGLEVEL_DEBUG);
CocoaProgressCallback progress;
if (argc != 4)