Replace printf with LogPrintf / LogPrint
This commit is contained in:
@@ -27,7 +27,7 @@ static bool noui_ThreadSafeMessageBox(const std::string& message, const std::str
|
||||
strCaption += caption; // Use supplied caption (can be empty)
|
||||
}
|
||||
|
||||
printf("%s: %s\n", strCaption.c_str(), message.c_str());
|
||||
LogPrintf("%s: %s\n", strCaption.c_str(), message.c_str());
|
||||
fprintf(stderr, "%s: %s\n", strCaption.c_str(), message.c_str());
|
||||
return false;
|
||||
}
|
||||
@@ -39,7 +39,7 @@ static bool noui_ThreadSafeAskFee(int64 /*nFeeRequired*/)
|
||||
|
||||
static void noui_InitMessage(const std::string &message)
|
||||
{
|
||||
printf("init message: %s\n", message.c_str());
|
||||
LogPrintf("init message: %s\n", message.c_str());
|
||||
}
|
||||
|
||||
void noui_connect()
|
||||
|
||||
Reference in New Issue
Block a user