aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorJim Posen <jimpo@coinbase.com>2018-04-11 10:03:21 -0700
committerJim Posen <jimpo@coinbase.com>2018-04-27 16:09:59 -0700
commitf55f4fcf05a53fdf618b4c69ddcf4c43b14e84c2 (patch)
treed5e549d544757a7d0aa1bd2fbcef5be376af8823 /src/test/test_bitcoin.cpp
parent17266a13067c061783e0428c6200985ed8872b16 (diff)
downloadbitcoin-f55f4fcf05a53fdf618b4c69ddcf4c43b14e84c2.tar.xz
util: Establish global logger object.
The object encapsulates logging configuration, and in a later commit, set up routines will also be moved into the class.
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index e9873f4526..fa59a9ce34 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -47,7 +47,7 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName)
SetupNetworking();
InitSignatureCache();
InitScriptExecutionCache();
- fPrintToDebugLog = false; // don't want to write to debug.log file
+ g_logger->fPrintToDebugLog = false; // don't want to write to debug.log file
fCheckBlockIndex = true;
SelectParams(chainName);
noui_connect();