Replace printf with LogPrintf / LogPrint

This commit is contained in:
Gavin Andresen
2013-09-18 20:38:08 +10:00
parent e51321fb75
commit 881a85a22d
29 changed files with 374 additions and 392 deletions

View File

@@ -560,7 +560,7 @@ public:
void PrintHex() const
{
printf("CScript(%s)\n", HexStr(begin(), end(), true).c_str());
LogPrintf("CScript(%s)\n", HexStr(begin(), end(), true).c_str());
}
std::string ToString() const
@@ -588,7 +588,7 @@ public:
void print() const
{
printf("%s\n", ToString().c_str());
LogPrintf("%s\n", ToString().c_str());
}
CScriptID GetID() const