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.
This commit is contained in:
laanwj
2022-05-25 11:31:58 +02:00
parent ce920713bf
commit c4e7717727
5 changed files with 14 additions and 14 deletions

View File

@@ -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;
}