mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01:00
leveldb: Log messages from leveldb with category and debug level
This commit is contained in:
@@ -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