mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-01 10:39:41 +01:00
logging: use util/log.h where possible
Preparation for a future commit where kernel's dependency on logging.cpp is removed completely. Replace usage of logging\.h with util/log\.h where it suffices, and fix wrong includes according to iwyu.
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
#include <kernel/messagestartchars.h>
|
||||
#include <kernel/notifications_interface.h>
|
||||
#include <kernel/types.h>
|
||||
#include <logging.h>
|
||||
#include <pow.h>
|
||||
#include <primitives/block.h>
|
||||
#include <primitives/transaction.h>
|
||||
@@ -31,6 +30,7 @@
|
||||
#include <util/check.h>
|
||||
#include <util/expected.h>
|
||||
#include <util/fs.h>
|
||||
#include <util/log.h>
|
||||
#include <util/obfuscation.h>
|
||||
#include <util/overflow.h>
|
||||
#include <util/result.h>
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <coins.h>
|
||||
#include <consensus/params.h>
|
||||
#include <kernel/caches.h>
|
||||
#include <logging.h>
|
||||
#include <node/blockstorage.h>
|
||||
#include <sync.h>
|
||||
#include <threadsafety.h>
|
||||
@@ -17,6 +16,7 @@
|
||||
#include <txdb.h>
|
||||
#include <uint256.h>
|
||||
#include <util/fs.h>
|
||||
#include <util/log.h>
|
||||
#include <util/signalinterrupt.h>
|
||||
#include <util/time.h>
|
||||
#include <util/translation.h>
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
#include <node/utxo_snapshot.h>
|
||||
|
||||
#include <logging.h>
|
||||
#include <streams.h>
|
||||
#include <sync.h>
|
||||
#include <tinyformat.h>
|
||||
#include <uint256.h>
|
||||
#include <util/fs.h>
|
||||
#include <util/log.h>
|
||||
#include <validation.h>
|
||||
|
||||
#include <cassert>
|
||||
|
||||
Reference in New Issue
Block a user