diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-06 00:38:24 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-07 13:25:39 +0000 |
commit | 68f045de8ce886ce638289e34db4a2649e2ed23c (patch) | |
tree | 92c788f824c400e3a7702b8a26a1e04cdeb55733 /external/easylogging++/easylogging++.h | |
parent | Merge pull request #4879 (diff) | |
download | monero-68f045de8ce886ce638289e34db4a2649e2ed23c.tar.xz |
easylogging++: check allowed categories before logging
Diffstat (limited to 'external/easylogging++/easylogging++.h')
-rw-r--r-- | external/easylogging++/easylogging++.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.h b/external/easylogging++/easylogging++.h index 046252a5b..a642d2748 100644 --- a/external/easylogging++/easylogging++.h +++ b/external/easylogging++/easylogging++.h @@ -3290,6 +3290,7 @@ class Writer : base::NoCopy { Writer& construct(Logger* logger, bool needLock = true); Writer& construct(int count, const char* loggerIds, ...); + Writer& construct(const char *loggerId); protected: LogMessage* m_msg; Level m_level; @@ -3305,6 +3306,7 @@ class Writer : base::NoCopy { friend class el::Helpers; void initializeLogger(const std::string& loggerId, bool lookup = true, bool needLock = true); + void initializeLogger(Logger *logger, bool needLock = true); void processDispatch(); void triggerDispatch(void); }; |