More logging improvements.

This commit is contained in:
JoelKatz
2012-10-08 07:14:36 -07:00
parent 0355439406
commit 31a6177da0
5 changed files with 23 additions and 16 deletions

View File

@@ -1174,12 +1174,12 @@ void LedgerConsensus::accept(SHAMap::ref set)
}
#ifdef DEBUG
if (sLog(lsTRACE))
{
Json::StyledStreamWriter ssw;
cLog(lsTRACE) << "newLCL";
Log(lsTRACE) << "newLCL";
Json::Value p;
newLCL->addJson(p, LEDGER_JSON_DUMP_TXNS | LEDGER_JSON_DUMP_STATE);
ssw.write(Log(lsTRACE).ref(), p);
Log(lsTRACE) << p;
}
#endif
}