Changed sink_it_ to accept const log_message&

This commit is contained in:
gabime
2019-08-22 19:57:59 +03:00
parent 7e728869cc
commit 0284a23d0a
6 changed files with 7 additions and 8 deletions

View File

@@ -346,7 +346,7 @@ protected:
spdlog::level_t flush_level_{level::off};
err_handler custom_err_handler_{nullptr};
virtual void sink_it_(details::log_msg &msg);
virtual void sink_it_(const details::log_msg &msg);
virtual void flush_();
bool should_flush_(const details::log_msg &msg);