MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / LogHolder_impl

Method LogHolder_impl

tools/comdb2ar/logholder.cpp:25–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23};
24
25LogHolder_impl::LogHolder_impl(const std::string& dbname,
26 const std::string& request)
27{
28 try
29 {
30 mp_appsock.reset(new Appsock(dbname, request));
31 }
32 catch(Error& e)
33 {
34 std::clog << "Log holder appsock failed: " << e.what() << std::endl;
35 }
36}
37
38void LogHolder_impl::reset(const std::string& dbname, const std::string& request)
39{

Callers

nothing calls this directly

Calls 2

resetMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected