MCPcopy Create free account
hub / github.com/ElementsProject/elements / DisconnectTestLogger

Method DisconnectTestLogger

src/logging.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84void BCLog::Logger::DisconnectTestLogger()
85{
86 StdLockGuard scoped_lock(m_cs);
87 m_buffering = true;
88 if (m_fileout != nullptr) fclose(m_fileout);
89 m_fileout = nullptr;
90 m_print_callbacks.clear();
91}
92
93void BCLog::Logger::EnableCategory(BCLog::LogFlags flag)
94{

Callers 2

~BasicTestingSetupMethod · 0.80
appTestsMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by 2

~BasicTestingSetupMethod · 0.64
appTestsMethod · 0.64