From c4e77177276ea2b79c4675cb2678ee2cc757b743 Mon Sep 17 00:00:00 2001 From: laanwj <126646+laanwj@users.noreply.github.com> Date: Wed, 25 May 2022 11:31:58 +0200 Subject: 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. --- src/logging.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/logging.h') 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__); \ -- cgit v1.2.3