| 114 | } |
| 115 | |
| 116 | void 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 | |
| 128 | void BCLog::Logger::EnableCategory(BCLog::LogFlags flag) |
| 129 | { |