Fix Node::getLogCategories() to work with Dash-specific log categories (#3837)

We use top 32 bits of uint64_t for Dash-specific log categories, see logging.h
This commit is contained in:
UdjinM6 2020-11-29 20:28:14 +03:00 committed by GitHub
parent 13c1ffb345
commit dc3ea69f49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ class NodeImpl : public Node
void initLogging() override { InitLogging(); }
void initParameterInteraction() override { InitParameterInteraction(); }
std::string getWarnings(const std::string& type) override { return GetWarnings(type); }
uint32_t getLogCategories() override { return ::logCategories; }
uint64_t getLogCategories() override { return ::logCategories; }
bool baseInitialize() override
{
return AppInitBasicSetup() && AppInitParameterInteraction() && AppInitSanityChecks() &&

View File

@ -123,7 +123,7 @@ public:
virtual std::string getWarnings(const std::string& type) = 0;
// Get log flags.
virtual uint32_t getLogCategories() = 0;
virtual uint64_t getLogCategories() = 0;
//! Initialize app dependencies.
virtual bool baseInitialize() = 0;