leveldb: Log messages from leveldb with category and debug level
This commit is contained in:
1 parent
18ec120bb9
commit
ce920713bf
1 file changed
+1
-1
+1
-1
@@ -63,7 +63,7 @@ public:
|
|||||||
|
|
||||||
assert(p <= limit);
|
assert(p <= limit);
|
||||||
base[std::min(bufsize - 1, (int)(p - base))] = '\0';
|
base[std::min(bufsize - 1, (int)(p - base))] = '\0';
|
||||||
LogPrintf("leveldb: %s", base); /* Continued */
|
LogPrintLevel(BCLog::Level::Debug, BCLog::LEVELDB, "%s", base); /* Continued */
|
||||||
if (base != buffer) {
|
if (base != buffer) {
|
||||||
delete[] base;
|
delete[] base;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user