diff options
author | laanwj <126646+laanwj@users.noreply.github.com> | 2022-05-25 11:31:58 +0200 |
---|---|---|
committer | laanwj <126646+laanwj@users.noreply.github.com> | 2022-05-25 11:31:58 +0200 |
commit | c4e77177276ea2b79c4675cb2678ee2cc757b743 (patch) | |
tree | 422841be87da1239337f9a121255117562c1d480 /src/logging.h | |
parent | ce920713bf0810614c2c0c994511b50d4f660bce (diff) |
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.h | 2 |
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__); \ |