aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2015-10-23 13:07:36 -0400
committerSuhas Daftuar <[email protected]>2015-10-26 15:05:37 -0400
commit7bbc7c314f4ebb1e7fe882a0a2aae5a5655f2972 (patch)
tree962a5af7cb1251b5166915474c80d4b54277fc52 /src/util.h
parentMerge pull request #6820 (diff)
downloadarchived-discoin-7bbc7c314f4ebb1e7fe882a0a2aae5a5655f2972.tar.xz
archived-discoin-7bbc7c314f4ebb1e7fe882a0a2aae5a5655f2972.zip
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 0b2dc01ac..b2779fe78 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;