mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
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:
parent
27b7f3b43a
commit
e2e5f5cd9d
3 changed files with 11 additions and 2 deletions
2
init.cpp
2
init.cpp
|
|
@ -211,8 +211,8 @@ bool AppInit2(int argc, char* argv[])
|
|||
fPrintToDebugger = GetBoolArg("-printtodebugger");
|
||||
|
||||
fTestNet = GetBoolArg("-testnet");
|
||||
|
||||
fNoListen = GetBoolArg("-nolisten");
|
||||
fLogTimestamps = GetBoolArg("-logtimestamps");
|
||||
|
||||
for (int i = 1; i < argc; i++)
|
||||
if (!IsSwitchChar(argv[i][0]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue