aboutsummaryrefslogtreecommitdiff
path: root/src/logging.h
diff options
context:
space:
mode:
authorlaanwj <126646+laanwj@users.noreply.github.com>2022-05-25 11:31:58 +0200
committerlaanwj <126646+laanwj@users.noreply.github.com>2022-05-25 11:31:58 +0200
commitc4e77177276ea2b79c4675cb2678ee2cc757b743 (patch)
tree422841be87da1239337f9a121255117562c1d480 /src/logging.h
parentce920713bf0810614c2c0c994511b50d4f660bce (diff)
downloadbitcoin-c4e77177276ea2b79c4675cb2678ee2cc757b743.tar.xz
refactor: Change LogPrintLevel order to category, severity
This is more consistent with the other functions, as well as with the logging output itself. If we want to make this change, we should do it before it's all over the place.
Diffstat (limited to 'src/logging.h')
-rw-r--r--src/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.h b/src/logging.h
index 8b4459400b..8a896b6b33 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -213,7 +213,7 @@ static inline void LogPrintf_(const std::string& logging_function, const std::st
} \
} while (0)
-#define LogPrintLevel(level, category, ...) \
+#define LogPrintLevel(category, level, ...) \
do { \
if (LogAcceptCategory((category), (level))) { \
LogPrintLevel_(category, level, __VA_ARGS__); \