22 #ifndef INCLUDED_GR_RUNTIME_RUNTIME_LOG_LOG_H
23 #define INCLUDED_GR_RUNTIME_RUNTIME_LOG_LOG_H
27 #include <gnuradio/log/entry.h>
45 zmq::socket_t rx_socket;
55 void enqueue(entry&& what) noexcept;
62 std::set<std::shared_ptr<backend> > backends;
64 std::atomic<bool> running;
71 void operator()(entry&& what) noexcept;
77 void operator=(
logger const&) =
delete;
81 void attach(std::shared_ptr<backend> log_backend);
85 void detach(std::shared_ptr<backend> log_backend);
#define GR_RUNTIME_API
Definition: gnuradio-runtime/include/gnuradio/api.h:30
boost::thread thread
Definition: thread.h:47
GR_RUNTIME_API logger & instance()