MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / SetLogSink

Function SetLogSink

Tools/Log.cpp:40–44  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

38 {
39 //-------------------------------------------------------------------------
40 void SetLogSink(boost::shared_ptr<logging::sinks::sink> sink)
41 {
42 logging::core::get()->remove_all_sinks();
43 logging::core::get()->add_sink(sink);
44 }
45 }
46
47 //-------------------------------------------------------------------------

Callers 1

InitLoggerOstreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected