MCPcopy Create free account
hub / github.com/apple/foundationdb / logs

Function logs

flow/TLSTest.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48template <class... Args>
49void logs(Args&&... args) {
50 auto buf = fmt::memory_buffer{};
51 fmt::format_to(std::back_inserter(buf), "[SERVER] ");
52 fmt::format_to(std::back_inserter(buf), std::forward<Args>(args)...);
53 fmt::print(outp, "{}\n", std::string_view(buf.data(), buf.size()));
54}
55
56using namespace boost::asio;
57using ip::tcp;

Callers 1

runTlsTestFunction · 0.70

Calls 4

format_toFunction · 0.50
printFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected