mirror of
https://github.com/gabime/spdlog.git
synced 2025-11-16 09:28:56 +08:00
clang-format
This commit is contained in:
@@ -31,7 +31,8 @@ namespace sinks {
|
||||
struct tcp_sink_config {
|
||||
std::string server_host;
|
||||
int server_port;
|
||||
int timeout_ms = 0; // The timeout for all 3 major socket operations that is connect, send, and recv
|
||||
int timeout_ms =
|
||||
0; // The timeout for all 3 major socket operations that is connect, send, and recv
|
||||
bool lazy_connect = false; // if true connect on first log call instead of on construction
|
||||
|
||||
tcp_sink_config(std::string host, int port)
|
||||
|
||||
@@ -50,4 +50,3 @@ TEST_CASE("ringbuffer retrieval limit", "[ringbuffer]") {
|
||||
REQUIRE(formatted[0] == spdlog::fmt_lib::format("B{}", default_eol));
|
||||
REQUIRE(formatted[1] == spdlog::fmt_lib::format("C{}", default_eol));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user