MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ResetLogger

Function ResetLogger

src/test/logging_tests.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33BOOST_FIXTURE_TEST_SUITE(logging_tests, BasicTestingSetup)
34
35static void ResetLogger()
36{
37 LogInstance().SetLogLevel(BCLog::DEFAULT_LOG_LEVEL);
38 LogInstance().SetCategoryLogLevel({});
39}
40
41static std::vector<std::string> ReadDebugLogLines()
42{

Callers 1

BOOST_FIXTURE_TEST_CASEFunction · 0.85

Calls 2

SetCategoryLogLevelMethod · 0.80
SetLogLevelMethod · 0.45

Tested by

no test coverage detected