MCPcopy Create free account
hub / github.com/chronoxor/CppLogging / LogConfigFixture

Method LogConfigFixture

performance/async_format.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{
17protected:
18 LogConfigFixture()
19 {
20 auto binary_sink = std::make_shared<AsyncWaitFreeProcessor>(std::make_shared<BinaryLayout>());
21 binary_sink->appenders().push_back(std::make_shared<FileAppender>(_file));
22 Config::ConfigLogger("binary", binary_sink);
23 Config::Startup();
24 }
25
26 ~LogConfigFixture()
27 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected