diff options
author | Jim Posen <jimpo@coinbase.com> | 2018-04-11 10:03:21 -0700 |
---|---|---|
committer | Jim Posen <jimpo@coinbase.com> | 2018-04-27 16:09:59 -0700 |
commit | f55f4fcf05a53fdf618b4c69ddcf4c43b14e84c2 (patch) | |
tree | d5e549d544757a7d0aa1bd2fbcef5be376af8823 /src/util.h | |
parent | 17266a13067c061783e0428c6200985ed8872b16 (diff) |
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/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h index ce94f396af..2da8023285 100644 --- a/src/util.h +++ b/src/util.h @@ -66,7 +66,7 @@ bool SetupNetworking(); template<typename... Args> bool error(const char* fmt, const Args&... args) { - LogPrintStr("ERROR: " + tfm::format(fmt, args...) + "\n"); + LogPrintf("ERROR: %s\n", tfm::format(fmt, args...)); return false; } |