mirror of
https://github.com/gabime/spdlog.git
synced 2025-04-01 02:42:41 +08:00
Update tcp_sink.h
This commit is contained in:
parent
0123d41647
commit
ffa85cda1a
@ -31,7 +31,7 @@ struct tcp_sink_config
|
|||||||
{
|
{
|
||||||
std::string server_host;
|
std::string server_host;
|
||||||
int server_port;
|
int server_port;
|
||||||
bool lazy_connect = false; // connect on first log call instead of on construction
|
bool lazy_connect = false; // if true connect on first log call instead of on construction
|
||||||
|
|
||||||
tcp_sink_config(std::string host, int port)
|
tcp_sink_config(std::string host, int port)
|
||||||
: server_host{std::move(host)}
|
: server_host{std::move(host)}
|
||||||
|
Loading…
Reference in New Issue
Block a user