diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-04-02 08:28:59 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-04-02 08:47:02 +0200 |
| commit | 1a5aaabb8a3d67a039ad120bb5d8d418467cac4e (patch) | |
| tree | 4090f9ae3b6e908b2066ebb1cc7c1cffb51ca734 /src/dbwrapper.cpp | |
| parent | Merge #10136: build: Disable Wshadow warning (diff) | |
| parent | Change LogAcceptCategory to use uint32_t rather than sets of strings. (diff) | |
| download | discoin-1a5aaabb8a3d67a039ad120bb5d8d418467cac4e.tar.xz discoin-1a5aaabb8a3d67a039ad120bb5d8d418467cac4e.zip | |
Merge #9424: Change LogAcceptCategory to use uint32_t rather than sets of strings.
6b3bb3d Change LogAcceptCategory to use uint32_t rather than sets of strings. (Gregory Maxwell)
Tree-SHA512: ebb5bcf9a7d00a32dd1390b727ff4d29330a038423611da01268d8e1d2c0229e52a1098e751d4e6db73ef4ae862e1e96d38249883fcaf12b68f55ebb01035b34
Diffstat (limited to 'src/dbwrapper.cpp')
| -rw-r--r-- | src/dbwrapper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp index cd441add4..01fcd0742 100644 --- a/src/dbwrapper.cpp +++ b/src/dbwrapper.cpp @@ -21,8 +21,9 @@ public: // This code is adapted from posix_logger.h, which is why it is using vsprintf. // Please do not do this in normal code virtual void Logv(const char * format, va_list ap) override { - if (!LogAcceptCategory("leveldb")) + if (!LogAcceptCategory(BCLog::LEVELDB)) { return; + } char buffer[500]; for (int iter = 0; iter < 2; iter++) { char* base; |