aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-04-12 14:52:49 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-04-13 16:03:31 +0200
commit31cc9366fc81c3f478b31a206daa6b38801cd3b1 (patch)
tree34f34331aa66fc8064f25006baaa4157218f236e /src/libutil
parent16c48560273804206953c39b540ffaf9ce0d350d (diff)
Initialise logger
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/logging.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/logging.cc b/src/libutil/logging.cc
index d9e8d22d7..53f6260b7 100644
--- a/src/libutil/logging.cc
+++ b/src/libutil/logging.cc
@@ -3,7 +3,7 @@
namespace nix {
-Logger * logger = 0;
+Logger * logger = makeDefaultLogger();
class SimpleLogger : public Logger
{