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/httpserver.cpp | |
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/httpserver.cpp')
-rw-r--r-- | src/httpserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp index c463b1b8ab..44937dc523 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -359,7 +359,7 @@ static void libevent_log_cb(int severity, const char *msg) level = BCLog::Level::Error; break; } - LogPrintLevel(level, BCLog::LIBEVENT, "%s\n", msg); + LogPrintLevel(BCLog::LIBEVENT, level, "%s\n", msg); } bool InitHTTPServer() |