Agora
1.2.0
Agora project
|
Go to the documentation of this file.
37 template<
typename Mutex>
68 template<
typename Factory = spdlog::synchronous_factory>
71 return Factory::template create<sinks::udp_sink_mt>(logger_name, skin_config);
Definition: udp_sink.h:26
~udp_sink() override=default
void flush_() override
Definition: udp_sink.h:56
std::shared_ptr< logger > udp_logger_mt(const std::string &logger_name, sinks::udp_sink_config skin_config)
Definition: udp_sink.h:69
uint16_t server_port
Definition: udp_sink.h:29
constexpr auto size() const -> size_t
Definition: core.h:820
void sink_it_(const spdlog::details::log_msg &msg) override
Definition: udp_sink.h:49
udp_sink(udp_sink_config sink_config)
Definition: udp_sink.h:42
Definition: udp_client-windows.h:24
Definition: base_sink.h:19
void send(const char *data, size_t n_bytes)
Definition: udp_client-windows.h:101
std::string server_host
Definition: udp_sink.h:28
auto data() -> T *
Definition: core.h:826
Definition: udp_sink.h:38
udp_sink_config(std::string host, uint16_t port)
Definition: udp_sink.h:31
details::udp_client client_
Definition: udp_sink.h:57