Agora
1.2.0
Agora project
|
Go to the documentation of this file.
42 template<
typename Mutex>
50 :
config_{std::move(sink_config)}
void flush_() override
Definition: tcp_sink.h:72
details::tcp_client client_
Definition: tcp_sink.h:74
void send(const char *data, size_t n_bytes)
Definition: tcp_client-windows.h:137
constexpr auto size() const -> size_t
Definition: core.h:820
int server_port
Definition: tcp_sink.h:33
Definition: tcp_sink.h:43
tcp_sink_config config_
Definition: tcp_sink.h:73
~tcp_sink() override=default
tcp_sink(tcp_sink_config sink_config)
Definition: tcp_sink.h:49
void sink_it_(const spdlog::details::log_msg &msg) override
Definition: tcp_sink.h:61
Definition: base_sink.h:19
tcp_sink_config(std::string host, int port)
Definition: tcp_sink.h:36
auto data() -> T *
Definition: core.h:826
void connect(const std::string &host, int port)
Definition: tcp_client-windows.h:76
Definition: tcp_client-windows.h:24
std::string server_host
Definition: tcp_sink.h:32
bool is_connected() const
Definition: tcp_client-windows.h:59
bool lazy_connect
Definition: tcp_sink.h:34
Definition: tcp_sink.h:30