Commit 1b6d4fd2 authored by gabime's avatar gabime

Update tcp_sink.h

parent 7b19890d
......@@ -24,6 +24,8 @@ template<typename Mutex>
class tcp_sink : public spdlog::sinks::base_sink<Mutex>
{
public:
// connect to tcp host/port or throw if failed
// host can be hostname or ip address
tcp_sink(std::string host, int port)
{
sock_ = connect_to(host, port);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment