mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
log: Construct global logger on first use
This commit is contained in:
parent
d14ef5721f
commit
77777c5624
6 changed files with 34 additions and 28 deletions
|
|
@ -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() &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue