diff options
| author | Jim Posen <[email protected]> | 2018-04-11 10:03:21 -0700 |
|---|---|---|
| committer | Jim Posen <[email protected]> | 2018-04-27 16:09:59 -0700 |
| commit | f55f4fcf05a53fdf618b4c69ddcf4c43b14e84c2 (patch) | |
| tree | d5e549d544757a7d0aa1bd2fbcef5be376af8823 /src/bench/bench_bitcoin.cpp | |
| parent | Merge #13090: Remove Safe mode (achow101) (diff) | |
| download | discoin-f55f4fcf05a53fdf618b4c69ddcf4c43b14e84c2.tar.xz discoin-f55f4fcf05a53fdf618b4c69ddcf4c43b14e84c2.zip | |
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/bench/bench_bitcoin.cpp')
| -rw-r--r-- | src/bench/bench_bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/bench_bitcoin.cpp b/src/bench/bench_bitcoin.cpp index 1d8788352..f08c099c1 100644 --- a/src/bench/bench_bitcoin.cpp +++ b/src/bench/bench_bitcoin.cpp @@ -46,7 +46,7 @@ main(int argc, char** argv) RandomInit(); ECC_Start(); SetupEnvironment(); - fPrintToDebugLog = false; // don't want to write to debug.log file + g_logger->fPrintToDebugLog = false; // don't want to write to debug.log file int64_t evaluations = gArgs.GetArg("-evals", DEFAULT_BENCH_EVALUATIONS); std::string regex_filter = gArgs.GetArg("-filter", DEFAULT_BENCH_FILTER); |