aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-format-strings.py
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2022-05-25 18:26:54 +0200
committerJon Atack <jon@atack.com>2022-06-08 14:02:54 +0200
commiteb8aab759fb15824a5dd3004e689d0eb5b884a32 (patch)
tree3dc6ec7fdb4199a4d5115a016355834f23c50a83 /test/lint/lint-format-strings.py
parentb9416c3847cd347238a9d75d949327f69e187d79 (diff)
downloadbitcoin-eb8aab759fb15824a5dd3004e689d0eb5b884a32.tar.xz
logging: add LogPrintfCategory to log unconditionally with category
prefixing the output with the passed category name. - add documentation - add a unit test - update lint-logs.py - update lint-format-strings.py
Diffstat (limited to 'test/lint/lint-format-strings.py')
-rwxr-xr-xtest/lint/lint-format-strings.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lint/lint-format-strings.py b/test/lint/lint-format-strings.py
index 412cf86791..522023e328 100755
--- a/test/lint/lint-format-strings.py
+++ b/test/lint/lint-format-strings.py
@@ -22,6 +22,7 @@ FUNCTION_NAMES_AND_NUMBER_OF_LEADING_ARGUMENTS = [
'LogConnectFailure,1',
'LogPrint,1',
'LogPrintf,0',
+ 'LogPrintfCategory,1',
'LogPrintLevel,2',
'printf,0',
'snprintf,2',