Update tcp_sink.h

pull/1427/head
gabime 6 years ago
parent 7b19890deb
commit 1b6d4fd277

@ -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);

Loading…
Cancel
Save