log: introduce a new category for private broadcast

This commit is contained in:
Vasil Dimov
2023-12-14 13:21:01 +01:00
parent 13891a8a68
commit d6ee490e0a
2 changed files with 2 additions and 0 deletions

View File

@@ -202,6 +202,7 @@ static const std::map<std::string, BCLog::LogFlags, std::less<>> LOG_CATEGORIES_
{"scan", BCLog::SCAN},
{"txpackages", BCLog::TXPACKAGES},
{"kernel", BCLog::KERNEL},
{"privatebroadcast", BCLog::PRIVBROADCAST},
};
static const std::unordered_map<BCLog::LogFlags, std::string> LOG_CATEGORIES_BY_FLAG{

View File

@@ -96,6 +96,7 @@ namespace BCLog {
SCAN = (CategoryMask{1} << 27),
TXPACKAGES = (CategoryMask{1} << 28),
KERNEL = (CategoryMask{1} << 29),
PRIVBROADCAST = (CategoryMask{1} << 30),
ALL = ~NONE,
};
enum class Level {