aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-01-25 15:54:49 -0500
committerMarcoFalke <falke.marco@gmail.com>2019-01-29 15:30:24 -0500
commit77777c5624e2f5416d85500e82b7c80e10ed01b6 (patch)
treeb6f69a898835496e248bd1e5d551184e6bbf4b33 /src/interfaces
parentd14ef5721ffcf07321704dc21f1ab9df4952a44d (diff)
log: Construct global logger on first use
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp
index c574f960e6..a2b89c3f90 100644
--- a/src/interfaces/node.cpp
+++ b/src/interfaces/node.cpp
@@ -67,7 +67,7 @@ public:
void initLogging() override { InitLogging(); }
void initParameterInteraction() override { InitParameterInteraction(); }
std::string getWarnings(const std::string& type) override { return GetWarnings(type); }
- uint32_t getLogCategories() override { return g_logger->GetCategoryMask(); }
+ uint32_t getLogCategories() override { return LogInstance().GetCategoryMask(); }
bool baseInitialize() override
{
return AppInitBasicSetup() && AppInitParameterInteraction() && AppInitSanityChecks() &&