mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
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:
parent
13c1ffb345
commit
dc3ea69f49
@ -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() &&
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user