MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / toggleDebug

Method toggleDebug

cpp/core/Env.cpp:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void Logger::toggleDebug() {
33 if (_logLevel == LogLevel::LOG_DEBUG) {
34 _logLevel = _savedLogLevel;
35 } else {
36 _logLevel = LogLevel::LOG_DEBUG;
37 }
38}
39
40static std::atomic<Logger*> debuggableLogger(nullptr);
41

Callers 1

loggerSignalHandlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected