mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-10 09:06:15 +01:00
log: Add tx reconciliation log category
This commit is contained in:
parent
c35b91afdc
commit
24e36fac0a
2 changed files with 4 additions and 0 deletions
|
@ -180,6 +180,7 @@ const CLogCategoryDesc LogCategories[] =
|
||||||
#endif
|
#endif
|
||||||
{BCLog::UTIL, "util"},
|
{BCLog::UTIL, "util"},
|
||||||
{BCLog::BLOCKSTORE, "blockstorage"},
|
{BCLog::BLOCKSTORE, "blockstorage"},
|
||||||
|
{BCLog::TXRECONCILIATION, "txreconciliation"},
|
||||||
{BCLog::ALL, "1"},
|
{BCLog::ALL, "1"},
|
||||||
{BCLog::ALL, "all"},
|
{BCLog::ALL, "all"},
|
||||||
};
|
};
|
||||||
|
@ -280,6 +281,8 @@ std::string LogCategoryToStr(BCLog::LogFlags category)
|
||||||
return "util";
|
return "util";
|
||||||
case BCLog::LogFlags::BLOCKSTORE:
|
case BCLog::LogFlags::BLOCKSTORE:
|
||||||
return "blockstorage";
|
return "blockstorage";
|
||||||
|
case BCLog::LogFlags::TXRECONCILIATION:
|
||||||
|
return "txreconciliation";
|
||||||
case BCLog::LogFlags::ALL:
|
case BCLog::LogFlags::ALL:
|
||||||
return "all";
|
return "all";
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,6 +66,7 @@ namespace BCLog {
|
||||||
#endif
|
#endif
|
||||||
UTIL = (1 << 25),
|
UTIL = (1 << 25),
|
||||||
BLOCKSTORE = (1 << 26),
|
BLOCKSTORE = (1 << 26),
|
||||||
|
TXRECONCILIATION = (1 << 27),
|
||||||
ALL = ~(uint32_t)0,
|
ALL = ~(uint32_t)0,
|
||||||
};
|
};
|
||||||
enum class Level {
|
enum class Level {
|
||||||
|
|
Loading…
Add table
Reference in a new issue