Reverted const qualifier to log_msg& args, fixed issue #849, and added counter tests

This commit is contained in:
gabime
2018-10-05 14:23:37 +03:00
parent 2fa538779f
commit 36112371c0
8 changed files with 28 additions and 10 deletions

View File

@@ -142,7 +142,7 @@ public:
virtual std::shared_ptr<logger> clone(std::string logger_name);
protected:
virtual void sink_it_(const details::log_msg &msg);
virtual void sink_it_(details::log_msg &msg);
virtual void flush_();
bool should_flush_(const details::log_msg &msg);