log: expand BCLog::LogFlags (categories) to 64 bits

This will increase the maximum number of logging categories
from 32 to 64.
This commit is contained in:
Larry Ruane
2022-12-01 09:02:50 -07:00
parent ee57737bd6
commit b31a0cd037
4 changed files with 41 additions and 39 deletions

View File

@@ -100,7 +100,7 @@ public:
void initParameterInteraction() override { InitParameterInteraction(args()); }
bilingual_str getWarnings() override { return Join(Assert(m_context->warnings)->GetMessages(), Untranslated("<hr />")); }
int getExitStatus() override { return Assert(m_context)->exit_status.load(); }
uint32_t getLogCategories() override { return LogInstance().GetCategoryMask(); }
BCLog::CategoryMask getLogCategories() override { return LogInstance().GetCategoryMask(); }
bool baseInitialize() override
{
if (!AppInitBasicSetup(args(), Assert(context())->exit_status)) return false;