Fix -logtimestamps to only print time prefix once per output line

Incorporate BlueMatt's fix to only timestamp upon new line, and
move -logtimestamp checking outside OutputDebugPrintF() to better
future-proof it.
This commit is contained in:
Jeff Garzik
2011-03-16 15:42:04 -04:00
committed by Jeff Garzik
parent 27b7f3b43a
commit e2e5f5cd9d
3 changed files with 11 additions and 2 deletions

1
util.h
View File

@@ -148,6 +148,7 @@ extern bool fCommandLine;
extern string strMiscWarning;
extern bool fTestNet;
extern bool fNoListen;
extern bool fLogTimestamps;
void RandAddSeed();
void RandAddSeedPerfmon();