```
[...] log addrman consistency checks in the BCLOG::ADDRMAN category when they are enabled with the -checkaddrman=<n> configuration option for values of n greater than 0.
```
Backport of [[https://github.com/bitcoin/bitcoin/pull/22696 | core#22696]].
Depends on D12272.