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

Method Initialize

performance/appender_null.cpp:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13{
14protected:
15 void Initialize(CppBenchmark::Context& context) override
16 {
17 auto binary_sink = std::make_shared<Processor>(std::make_shared<BinaryLayout>());
18 binary_sink->appenders().push_back(std::make_shared<NullAppender>());
19 Config::ConfigLogger("binary", binary_sink);
20 Config::Startup();
21 }
22};
23
24class HashConfigFixture : public virtual CppBenchmark::Fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected