17#ifndef TOOLBOX_SYS_LOGGER_HPP
18#define TOOLBOX_SYS_LOGGER_HPP
20#include <boost/lockfree/queue.hpp>
111 do_write_log(ts, level, tid, std::move(msg),
size);
116 std::size_t size)
noexcept
149 void write_all_messages();
151 std::size_t size)
noexcept override;
154 boost::lockfree::queue<Task, boost::lockfree::fixed_sized<true>> tq_{512};
155 std::atomic<bool> stop_{
false};
ostream & operator<<(ostream &os, const pair< T, U > &p)