refactor async sink

This commit is contained in:
gabime
2025-01-17 17:16:45 +02:00
parent 9673c1ba09
commit 82358e8ebe
2 changed files with 9 additions and 7 deletions

View File

@@ -94,7 +94,7 @@ private:
using async_log_msg = details::async_log_msg;
using queue_t = details::mpmc_blocking_queue<async_log_msg>;
void send_message_(async_log_msg::type msg_type, const details::log_msg &msg) const;
void enqueue_message_(details::async_log_msg &&msg) const;
void backend_loop_();
void backend_log_(const details::log_msg &msg) ;
void backend_flush_();