diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-08-08 10:49:13 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2024-08-29 13:49:57 +0200 |
commit | 333341589010b1d9b21b68ae6649992fd2653756 (patch) | |
tree | 5d6f5058ebaa98d3d98d18d275b60f2bbfae2c43 /test | |
parent | d08bedd81f184808c274f3c49cf5d581ccc78468 (diff) |
scripted-diff: LogPrint -> LogDebug
-BEGIN VERIFY SCRIPT-
sed -i 's/\<LogPrint\>/LogDebug/g' $( git grep -l '\<LogPrint\>' -- ./contrib/ ./src/ ./test/ ':(exclude)src/logging.h' )
-END VERIFY SCRIPT-
Diffstat (limited to 'test')
-rwxr-xr-x | test/lint/lint-format-strings.py | 2 | ||||
-rwxr-xr-x | test/lint/run-lint-format-strings.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lint/lint-format-strings.py b/test/lint/lint-format-strings.py index 09d858e131..709a1e7a0e 100755 --- a/test/lint/lint-format-strings.py +++ b/test/lint/lint-format-strings.py @@ -25,7 +25,7 @@ FUNCTION_NAMES_AND_NUMBER_OF_LEADING_ARGUMENTS = [ 'LogInfo,0', 'LogDebug,1', 'LogTrace,1', - 'LogPrint,1', + 'LogDebug,1', 'LogPrintf,0', 'LogPrintfCategory,1', 'LogPrintLevel,2', diff --git a/test/lint/run-lint-format-strings.py b/test/lint/run-lint-format-strings.py index 244bf5956f..09a2503452 100755 --- a/test/lint/run-lint-format-strings.py +++ b/test/lint/run-lint-format-strings.py @@ -19,7 +19,7 @@ FALSE_POSITIVES = [ ("src/netbase.cpp", "LogConnectFailure(bool manual_connection, const char* fmt, const Args&... args)"), ("src/clientversion.cpp", "strprintf(_(COPYRIGHT_HOLDERS).translated, COPYRIGHT_HOLDERS_SUBSTITUTION)"), ("src/test/translation_tests.cpp", "strprintf(format, arg)"), - ("src/validationinterface.cpp", "LogPrint(BCLog::VALIDATION, fmt \"\\n\", __VA_ARGS__)"), + ("src/validationinterface.cpp", "LogDebug(BCLog::VALIDATION, fmt \"\\n\", __VA_ARGS__)"), ("src/wallet/wallet.h", "WalletLogPrintf(const char* fmt, Params... parameters)"), ("src/wallet/wallet.h", "LogPrintf((\"%s \" + std::string{fmt}).c_str(), GetDisplayName(), parameters...)"), ("src/wallet/scriptpubkeyman.h", "WalletLogPrintf(const char* fmt, Params... parameters)"), |