log: [refactor] Use info level for init logs

This refactor does not change behavior.
This commit is contained in:
MarcoFalke
2025-07-25 09:52:43 +02:00
parent fa183761cb
commit face8123fd
27 changed files with 106 additions and 102 deletions

View File

@@ -54,7 +54,7 @@ bool noui_ThreadSafeQuestion(const bilingual_str& /* ignored interactive message
void noui_InitMessage(const std::string& message)
{
LogPrintf("init message: %s\n", message);
LogInfo("init message: %s", message);
}
void noui_connect()
@@ -66,19 +66,19 @@ void noui_connect()
bool noui_ThreadSafeMessageBoxRedirect(const bilingual_str& message, const std::string& caption, unsigned int style)
{
LogPrintf("%s: %s\n", caption, message.original);
LogInfo("%s: %s", caption, message.original);
return false;
}
bool noui_ThreadSafeQuestionRedirect(const bilingual_str& /* ignored interactive message */, const std::string& message, const std::string& caption, unsigned int style)
{
LogPrintf("%s: %s\n", caption, message);
LogInfo("%s: %s", caption, message);
return false;
}
void noui_InitMessageRedirect(const std::string& message)
{
LogPrintf("init message: %s\n", message);
LogInfo("init message: %s", message);
}
void noui_test_redirect()