laanwj 9e4fbebcc8
Merge bitcoin/bitcoin#25306: logging: add LogPrintfCategory to log unconditionally with category
ecff20db286e2f5d3afe32cfaae72de69d34d23c logging: use LogPrintfCategory rather than a manual category (Jon Atack)
eb8aab759fb15824a5dd3004e689d0eb5b884a32 logging: add LogPrintfCategory to log unconditionally with category (Jon Atack)

Pull request description:

  These are the next two commits from #25203.

  - Add `LogPrintfCategory` to log unconditionally while prefixing the output with the passed category name. Add documentation and a unit test, and update the `lint-logs.py` and `lint-format-strings.py` scripts.

  - Replace the log messages that manually print a category, with `LogPrintfCategory`. In upcoming commits, it will likely be used in many other cases, such as to replace `LogPrintf` where it makes sense.

ACKs for top commit:
  klementtan:
    Code Review ACK ecff20db286e2f5d3afe32cfaae72de69d34d23c
  laanwj:
    Code review ACK ecff20db286e2f5d3afe32cfaae72de69d34d23c
  brunoerg:
    ACK ecff20db286e2f5d3afe32cfaae72de69d34d23c

Tree-SHA512: ad3a82835254f7606efcd14b88f3d9072f1eb9b25db1321ed38ef6a4ec60efd555d78f5e19d93736f2f8500251d06f8beee9d694a153f24bf5cce3590a2a45a5
2022-06-14 11:46:32 +02:00
..
2021-09-29 14:10:29 +02:00
2022-06-10 12:39:08 +01:00
2022-06-08 10:03:43 -03:00
2022-05-30 16:42:13 +02:00
2021-11-12 11:46:34 +01:00
2022-04-20 14:29:29 +01:00
2022-06-08 13:35:32 +02:00
2021-12-30 19:36:57 +02:00
2022-04-28 10:24:06 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-05-30 13:55:39 +02:00
2022-01-02 11:40:31 +01:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2022-03-10 13:05:29 +01:00
2022-01-02 11:40:31 +01:00