mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-13 17:05:45 -04:00
CI: Build fix
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
#include "common/small_string.h"
|
||||
#include "common/types.h"
|
||||
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user