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

Method DisableLogging

src/logging.cpp:116–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void BCLog::Logger::DisableLogging()
117{
118 {
119 STDLOCK(m_cs);
120 assert(m_buffering);
121 assert(m_print_callbacks.empty());
122 }
123 m_print_to_file = false;
124 m_print_to_console = false;
125 StartLogging();
126}
127
128void BCLog::Logger::EnableCategory(BCLog::LogFlags flag)
129{

Callers 3

port_map_target_initFunction · 0.80
setup_threadpool_testFunction · 0.80
btck_logging_disableFunction · 0.80

Calls 2

StartLoggingFunction · 0.85
emptyMethod · 0.45

Tested by 2

port_map_target_initFunction · 0.64
setup_threadpool_testFunction · 0.64