This is a parent PR for continuing updates to severity-based logging. See #20576 for motivation and #25306 for discussion.
- #24464
- #25286
- #25306
- #25614
- #26957
- #27632
- #27231
- print the wallet name more clearly in wallet logging to distinguish it from category/level
- unconditionally log
Infoseverity level messages - replace the hardcoded
LogLevelsList()vector with a programmatic one derived from theLevelenum class - convert
GetLogCategory()tostd::optional - deduplicate the
LogCategorycode - update to severity-based logging in the following areas, dropping the use of
LogPrintfandLogPrint: addrdb, addrman, banman, i2p, mempool, netbase, net, net_processing, timedata, torcontrol - when we're ready to drop the other logging macros, rename
LogPrintLevelto simplyLog, which will be the only log macro needed after migration from the other macros is complete