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/dbwrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dbwrapper.cpp') diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp index 89146736ac..a2f1f32780 100644 --- a/src/dbwrapper.cpp +++ b/src/dbwrapper.cpp @@ -63,7 +63,7 @@ public: assert(p <= limit); base[std::min(bufsize - 1, (int)(p - base))] = '\0'; - LogPrintLevel(BCLog::Level::Debug, BCLog::LEVELDB, "%s", base); /* Continued */ + LogPrintLevel(BCLog::LEVELDB, BCLog::Level::Debug, "%s", base); /* Continued */ if (base != buffer) { delete[] base; } -- cgit v1.2.3