aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2015-10-23 13:07:36 -0400
committerSuhas Daftuar <sdaftuar@gmail.com>2015-10-26 15:05:37 -0400
commit7bbc7c314f4ebb1e7fe882a0a2aae5a5655f2972 (patch)
tree962a5af7cb1251b5166915474c80d4b54277fc52 /src/util.h
parentd78a880900c15c7a28ae81e6632090f25fea7fce (diff)
downloadbitcoin-7bbc7c314f4ebb1e7fe882a0a2aae5a5655f2972.tar.xz
Add option for microsecond precision in debug.log
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 0b2dc01ac6..b2779fe782 100644
--- a/src/util.h
+++ b/src/util.h
@@ -28,6 +28,8 @@
#include <boost/signals2/signal.hpp>
#include <boost/thread/exceptions.hpp>
+static const bool DEFAULT_LOGTIMEMICROS = false;
+
/** Signals for translation. */
class CTranslationInterface
{
@@ -44,6 +46,7 @@ extern bool fPrintToDebugLog;
extern bool fServer;
extern std::string strMiscWarning;
extern bool fLogTimestamps;
+extern bool fLogTimeMicros;
extern bool fLogIPs;
extern volatile bool fReopenDebugLog;
extern CTranslationInterface translationInterface;