mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 23:07:59 +01:00
Add VALIDATION to BCLog::LogFlags
This flag is for logging from within CValidationInterface (see #12994). A separate flag is desirable as the logging can be noisy and thus may need to be disabled without affecting other logging.
This commit is contained in:
parent
bb862d7864
commit
428ac70095
2 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,7 @@ const CLogCategoryDesc LogCategories[] =
|
|||
{BCLog::COINDB, "coindb"},
|
||||
{BCLog::QT, "qt"},
|
||||
{BCLog::LEVELDB, "leveldb"},
|
||||
{BCLog::VALIDATION, "validation"},
|
||||
{BCLog::ALL, "1"},
|
||||
{BCLog::ALL, "all"},
|
||||
};
|
||||
|
|
|
@ -54,6 +54,7 @@ namespace BCLog {
|
|||
COINDB = (1 << 18),
|
||||
QT = (1 << 19),
|
||||
LEVELDB = (1 << 20),
|
||||
VALIDATION = (1 << 21),
|
||||
ALL = ~(uint32_t)0,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue